/* FollowerAbzar 80.2.0 - final public typography + header ownership layer. */
@font-face{
  font-family:"Vazirmatn";
  src:local("Vazirmatn"),url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}

/* Typography is finalized after every legacy/storefront stylesheet so older
   iranyekan/Arial declarations cannot win by load order. Icon fonts remain intact. */
html[dir="rtl"] body:not(.wp-admin){
  font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
  font-synthesis:weight style;
}
html[dir="rtl"] body:not(.wp-admin) :where(button,input,select,textarea,option,optgroup){
  font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
}
html[dir="rtl"] body:not(.wp-admin) :where(
  .fasmm-public-header,.fasmm-public-footer,.fasmm-site-wrap,.fasmm-page-content,
  .fasmm-storefront,.fasmm-smm-store,.fasmm-smm-orders-legacy,.fasmm-legacy-panel-route,
  .fasmm-panel-view--standalone,.fasmm-order-form,.fasmm-home-order,.fasmm-public-services,
  .fasmm-sf-shell,.fasmm-account-store,.fasmm-virtual-store,.fasmm-orders-hub,
  .fasmm-wallet-panel,.fasmm-otp-modal,.fasmm-cart-drawer,.fasmm-cart-float
){font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important}
html[dir="rtl"] body:not(.wp-admin) :where(
  .fasmm-public-header,.fasmm-public-footer,.fasmm-site-wrap,.fasmm-page-content,
  .fasmm-storefront,.fasmm-smm-store,.fasmm-smm-orders-legacy,.fasmm-legacy-panel-route,
  .fasmm-panel-view--standalone,.fasmm-order-form,.fasmm-home-order,.fasmm-public-services,
  .fasmm-sf-shell,.fasmm-account-store,.fasmm-virtual-store,.fasmm-orders-hub,
  .fasmm-wallet-panel,.fasmm-otp-modal,.fasmm-cart-drawer
) :where(a,button,input,select,textarea,label,p,small,strong,b,em,span,div,h1,h2,h3,h4,h5,h6,li,td,th,summary):not(i):not([class^="ri-"]):not([class*=" ri-"]){
  font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
}

/* ---- Global header ------------------------------------------------------ */
header.fasmm-public-header{
  isolation:isolate;
  overflow:visible!important;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid rgba(226,232,240,.92)!important;
  box-shadow:0 5px 24px rgba(15,23,42,.045)!important;
  backdrop-filter:blur(16px);
}
header.fasmm-public-header.is-scrolled{box-shadow:0 10px 32px rgba(15,23,42,.09)!important}
header.fasmm-public-header .fasmm-public-header__inner{
  display:grid!important;
  grid-template-columns:minmax(170px,220px) minmax(0,1fr) minmax(132px,auto)!important;
  align-items:center!important;
  gap:clamp(12px,1.5vw,22px)!important;
  width:min(calc(100% - 28px),1440px)!important;
  min-height:76px!important;
  margin-inline:auto!important;
  padding:10px 0!important;
  overflow:visible!important;
}
header.fasmm-public-header .fasmm-public-header__brand{
  min-width:0!important;
  width:100%!important;
  max-width:220px!important;
  overflow:hidden!important;
}
header.fasmm-public-header .fasmm-public-site-logo{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  color:#0f172a!important;
  text-decoration:none!important;
}
header.fasmm-public-header .fasmm-public-site-logo__media,
header.fasmm-public-header .fasmm-public-site-logo__fallback{
  min-width:0!important;
  max-width:100%!important;
}
header.fasmm-public-header .fasmm-public-site-logo__fallback{gap:10px!important}
header.fasmm-public-header .fasmm-public-site-logo__monogram{
  width:38px!important;height:38px!important;flex:0 0 38px!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#eef2ff,#ede9fe)!important;
  color:#4f46e5!important;
  font-size:15px!important;font-weight:900!important;
}
header.fasmm-public-header .fasmm-public-site-logo__text{
  min-width:0!important;max-width:160px!important;overflow:hidden!important;
  text-overflow:ellipsis!important;white-space:nowrap!important;
  font-size:15px!important;font-weight:850!important;line-height:1.5!important;
}
header.fasmm-public-header .fasmm-public-site-logo img{
  display:block!important;max-width:190px!important;max-height:48px!important;
  width:auto!important;height:auto!important;object-fit:contain!important;
}
header.fasmm-public-header .fasmm-public-header__nav{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;overflow:visible!important;
}
header.fasmm-public-header .fasmm-public-header__menu-wrap{
  display:flex!important;justify-content:center!important;width:100%!important;
  min-width:0!important;max-width:100%!important;overflow:visible!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex-wrap:nowrap!important;gap:4px!important;width:auto!important;max-width:100%!important;
  min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important;
  white-space:nowrap!important;list-style:none!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item{
  position:relative!important;display:flex!important;align-items:center!important;
  flex:0 0 auto!important;min-width:0!important;margin:0!important;padding:0!important;
  border-radius:12px!important;overflow:visible!important;list-style:none!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item>.fasmm-public-menu__link{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:42px!important;margin:0!important;padding:8px 11px!important;border:0!important;
  border-radius:11px!important;background:transparent!important;color:#1e293b!important;
  font-size:13px!important;font-weight:780!important;line-height:1.55!important;
  text-decoration:none!important;white-space:nowrap!important;transition:.18s ease!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop>.menu-item-has-children{
  padding-inline-end:2px!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop>.menu-item-has-children>.fasmm-public-menu__link{
  padding-inline-end:6px!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item:hover,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item:focus-within,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item.is-submenu-open,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item.current-menu-item,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item.current-menu-parent{
  background:#f5f3ff!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item:hover>.fasmm-public-menu__link,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item:focus-within>.fasmm-public-menu__link,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item.is-submenu-open>.fasmm-public-menu__link,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item.current-menu-item>.fasmm-public-menu__link,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item.current-menu-parent>.fasmm-public-menu__link{
  color:#4f46e5!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item>.fasmm-public-menu__submenu-toggle{
  display:grid!important;place-items:center!important;width:28px!important;height:34px!important;
  min-width:28px!important;margin:0 2px 0 0!important;padding:0!important;border:0!important;
  border-radius:9px!important;background:transparent!important;box-shadow:none!important;
  color:#64748b!important;cursor:pointer!important;transition:.18s ease!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item>.fasmm-public-menu__submenu-toggle:hover,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item>.fasmm-public-menu__submenu-toggle:focus-visible{
  background:#ede9fe!important;color:#4f46e5!important;outline:0!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item.is-submenu-open>.fasmm-public-menu__submenu-toggle .fasmm-public-icon,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item:focus-within>.fasmm-public-menu__submenu-toggle .fasmm-public-icon{
  transform:rotate(180deg)!important;
}
header.fasmm-public-header .fasmm-public-menu__submenu-toggle .fasmm-public-icon{transition:transform .18s ease!important}
header.fasmm-public-header .fasmm-public-menu--desktop .fasmm-public-menu__submenu{
  position:absolute!important;inset-block-start:calc(100% + 9px)!important;inset-inline-start:0!important;
  z-index:10000!important;display:none!important;min-width:250px!important;width:max-content!important;
  max-width:min(440px,calc(100vw - 32px))!important;margin:0!important;padding:8px!important;
  border:1px solid #e2e8f0!important;border-radius:16px!important;background:#fff!important;
  box-shadow:0 22px 60px rgba(15,23,42,.16)!important;white-space:normal!important;
  overflow:visible!important;list-style:none!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop .fasmm-public-menu__submenu:before{
  content:"";position:absolute;inset-inline-start:24px;top:-6px;width:11px;height:11px;
  background:#fff;border-inline-start:1px solid #e2e8f0;border-block-start:1px solid #e2e8f0;
  transform:rotate(45deg);
}
header.fasmm-public-header .fasmm-public-menu--desktop .fasmm-public-menu__submenu>.fasmm-public-menu__item{
  position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  width:100%!important;min-width:0!important;margin:0!important;padding:0!important;list-style:none!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop .fasmm-public-menu__submenu .fasmm-public-menu__link{
  display:flex!important;align-items:center!important;width:100%!important;min-height:42px!important;
  padding:9px 12px!important;border-radius:10px!important;color:#334155!important;
  font-size:13px!important;font-weight:650!important;line-height:1.7!important;text-decoration:none!important;
  white-space:normal!important;transition:.16s ease!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop .fasmm-public-menu__submenu .fasmm-public-menu__link:hover,
header.fasmm-public-header .fasmm-public-menu--desktop .fasmm-public-menu__submenu .fasmm-public-menu__link:focus-visible{
  background:#f8fafc!important;color:#4f46e5!important;outline:0!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop .fasmm-public-menu__item:hover>.fasmm-public-menu__submenu,
header.fasmm-public-header .fasmm-public-menu--desktop .fasmm-public-menu__item:focus-within>.fasmm-public-menu__submenu,
header.fasmm-public-header .fasmm-public-menu--desktop .fasmm-public-menu__item.is-submenu-open>.fasmm-public-menu__submenu{display:block!important}
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-menu-panel-tools>.fasmm-public-menu__submenu{
  display:none!important;min-width:500px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:3px!important;padding:10px!important;
}
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-menu-panel-tools:hover>.fasmm-public-menu__submenu,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-menu-panel-tools:focus-within>.fasmm-public-menu__submenu,
header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-menu-panel-tools.is-submenu-open>.fasmm-public-menu__submenu{display:grid!important}
header.fasmm-public-header .fasmm-public-header__actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:8px!important;min-width:0!important;white-space:nowrap!important;
}
header.fasmm-public-header .fasmm-store-wallet-link{
  display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:44px!important;
  padding:8px 12px!important;border:1px solid #ddd6fe!important;border-radius:12px!important;
  background:#fff!important;color:#334155!important;text-decoration:none!important;white-space:nowrap!important;
  box-shadow:0 5px 15px rgba(79,70,229,.04)!important;transition:.18s ease!important;
}
header.fasmm-public-header .fasmm-store-wallet-link:hover{border-color:#a5b4fc!important;background:#f8f7ff!important}
header.fasmm-public-header .fasmm-store-wallet-link span{font-size:12px!important;font-weight:760!important}
header.fasmm-public-header .fasmm-store-wallet-link b{font-size:12px!important;font-weight:900!important;color:#059669!important}

/* Legacy panel bodies under the global header should inherit the same rhythm. */
.fasmm-legacy-panel-route,.fasmm-smm-orders-legacy{font-size:14px;line-height:1.9}
.fasmm-legacy-panel-route :where(h1,h2,h3,h4),.fasmm-smm-orders-legacy :where(h1,h2,h3,h4){letter-spacing:0!important}

@media (max-width:1279px) and (min-width:1024px){
  header.fasmm-public-header .fasmm-public-header__inner{grid-template-columns:minmax(130px,175px) minmax(0,1fr) auto!important;gap:8px!important;width:min(calc(100% - 18px),1440px)!important}
  header.fasmm-public-header .fasmm-public-site-logo__text{max-width:120px!important;font-size:13px!important}
  header.fasmm-public-header .fasmm-public-menu--desktop{gap:1px!important}
  header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item>.fasmm-public-menu__link{padding-inline:7px!important;font-size:11.8px!important}
  header.fasmm-public-header .fasmm-public-menu--desktop>.fasmm-public-menu__item>.fasmm-public-menu__submenu-toggle{width:24px!important;min-width:24px!important;margin-inline-start:-2px!important}
  header.fasmm-public-header .fasmm-store-wallet-link{padding-inline:9px!important}
  header.fasmm-public-header .fasmm-store-wallet-link span{display:none!important}
}
@media(max-width:1023px){
  header.fasmm-public-header .fasmm-public-header__inner{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;width:100%!important;padding-inline:14px!important}
  header.fasmm-public-header .fasmm-public-header__nav,header.fasmm-public-header .fasmm-public-header__actions{display:none!important}
  header.fasmm-public-header .fasmm-public-header__mobile-actions{display:flex!important;align-items:center!important;gap:8px!important}
  header.fasmm-public-header .fasmm-public-site-logo__text{max-width:180px!important}
  header.fasmm-public-header .fasmm-public-menu--mobile .fasmm-public-menu__submenu{max-height:none!important;overflow:visible!important}
  header.fasmm-public-header .fasmm-public-menu--mobile .fasmm-menu-panel-tools>.fasmm-public-menu__submenu{display:none!important;grid-template-columns:1fr!important}
  header.fasmm-public-header .fasmm-public-menu--mobile .fasmm-menu-panel-tools.is-submenu-open>.fasmm-public-menu__submenu{display:grid!important}
}
@media(max-width:479px){
  header.fasmm-public-header .fasmm-public-header__inner{min-height:66px!important;padding-inline:10px!important}
  header.fasmm-public-header .fasmm-public-site-logo__text{max-width:135px!important;font-size:13px!important}
}

/* ========================================================================
 * FollowerAbzar 80.1.5 - canonical side drawer header
 * One authoritative drawer on desktop + mobile. WordPress menu terms are not
 * rendered by the native header, eliminating duplicate migration items.
 * ====================================================================== */
header.fasmm-public-header.fasmm-public-header--drawer{
  position:sticky!important;
  top:0!important;
  z-index:2147481000!important;
  overflow:visible!important;
}
body.admin-bar header.fasmm-public-header.fasmm-public-header--drawer{top:32px!important}
@media(max-width:782px){body.admin-bar header.fasmm-public-header.fasmm-public-header--drawer{top:46px!important}}

header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__inner{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:12px!important;
  width:min(calc(100% - 24px),1440px)!important;
  min-height:72px!important;
  margin-inline:auto!important;
  padding:9px 0!important;
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__drawer-control{
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  order:0!important;
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__brand{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  max-width:260px!important;
  flex:0 1 260px!important;
  order:1!important;
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__spacer{
  display:block!important;
  min-width:0!important;
  flex:1 1 auto!important;
  order:2!important;
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex:0 0 auto!important;
  order:3!important;
  min-width:0!important;
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__nav,
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__mobile-actions{
  display:none!important;
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__drawer-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-width:48px!important;
  height:48px!important;
  padding:0 14px!important;
  border:1px solid #dfe4f2!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#6d75e8,#7251bd)!important;
  color:#fff!important;
  box-shadow:0 8px 22px rgba(91,76,190,.22)!important;
  font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  cursor:pointer!important;
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__drawer-toggle .fasmm-public-icon{
  width:22px!important;height:22px!important;stroke-width:2.2!important
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__drawer-toggle:hover,
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__drawer-toggle:focus-visible{
  transform:translateY(-1px)!important;
  box-shadow:0 12px 28px rgba(91,76,190,.3)!important;
  outline:3px solid rgba(99,102,241,.16)!important;
  outline-offset:2px!important;
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-store-wallet-link,
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-store-login{
  min-height:46px!important;
  border-radius:14px!important;
  white-space:nowrap!important;
}

/* Drawer shell */
.fasmm-public-drawer-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:2147482500!important;
  background:rgba(15,23,42,.52)!important;
  backdrop-filter:blur(2px)!important;
}
.fasmm-public-side-drawer{
  position:fixed!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:auto!important;
  z-index:2147482600!important;
  display:flex!important;
  flex-direction:column!important;
  width:min(390px,94vw)!important;
  height:100dvh!important;
  max-height:100dvh!important;
  margin:0!important;
  border:0!important;
  border-left:1px solid rgba(255,255,255,.12)!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#303c50 0%,#45546a 100%)!important;
  color:#fff!important;
  box-shadow:-24px 0 64px rgba(15,23,42,.34)!important;
  overflow:hidden!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translate3d(104%,0,0)!important;
  transition:transform .24s ease,opacity .2s ease,visibility .2s ease!important;
}
body.fasmm-public-menu-open .fasmm-public-side-drawer.is-open{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translate3d(0,0,0)!important;
}
body.fasmm-public-menu-open .fasmm-public-drawer-backdrop.is-open{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.fasmm-public-side-drawer__header{
  position:relative!important;
  inset:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:74px!important;
  padding:12px 16px!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  background:rgba(20,29,43,.18)!important;
  color:#fff!important;
}
.fasmm-public-side-drawer__header .fasmm-public-site-logo,
.fasmm-public-side-drawer__header .fasmm-public-site-logo__text{color:#fff!important}
.fasmm-public-side-drawer__header .fasmm-public-site-logo__monogram{
  background:rgba(124,103,238,.24)!important;color:#fff!important
}
.fasmm-public-side-drawer__header .fasmm-public-mobile-drawer__close{
  width:42px!important;height:42px!important;flex:0 0 42px!important;
  border:1px solid rgba(255,255,255,.18)!important;border-radius:13px!important;
  background:rgba(255,255,255,.08)!important;color:#fff!important;box-shadow:none!important
}
.fasmm-public-side-drawer__header .fasmm-public-mobile-drawer__close:hover{
  background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.3)!important;color:#fff!important
}

/* User card */
.fasmm-public-drawer__profile{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  margin:14px 16px 10px!important;
  padding:14px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.06)!important;
}
.fasmm-public-drawer__profile.is-guest{grid-template-columns:46px minmax(0,1fr)!important}
.fasmm-public-drawer__avatar{
  display:grid!important;place-items:center!important;width:52px!important;height:52px!important;
  overflow:hidden!important;border:2px solid rgba(179,161,255,.75)!important;border-radius:50%!important;
  background:linear-gradient(145deg,#65758a,#7357d0)!important;color:#fff!important
}
.fasmm-public-drawer__avatar .fasmm-user-avatar,
.fasmm-public-drawer__avatar img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important}
.fasmm-public-drawer__avatar>.fasmm-public-icon{width:24px!important;height:24px!important}
.fasmm-public-drawer__avatar-fallback{font-size:20px!important;font-weight:900!important}
.fasmm-public-drawer__identity{display:grid!important;gap:2px!important;min-width:0!important}
.fasmm-public-drawer__identity strong,
.fasmm-public-drawer__profile>div>strong{color:#fff!important;font-size:15px!important;font-weight:900!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fasmm-public-drawer__identity small,
.fasmm-public-drawer__profile>div>small{color:#cbd5e1!important;font-size:11px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fasmm-public-drawer__badge{display:inline-flex!important;justify-self:start!important;margin-top:5px!important;padding:3px 8px!important;border-radius:999px!important;background:#ff8a2b!important;color:#fff!important;font-size:10px!important;font-weight:900!important}
.fasmm-public-drawer__login{grid-column:1/-1!important;width:100%!important;margin-top:4px!important}

/* Scroll + canonical menu */
.fasmm-public-side-drawer__scroll{
  flex:1 1 auto!important;
  min-height:0!important;
  padding:8px 14px 18px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(255,255,255,.25) transparent!important;
}
.fasmm-public-menu--drawer{
  display:grid!important;
  gap:8px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.fasmm-public-menu--drawer .fasmm-public-drawer__item{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 42px!important;
  align-items:center!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.055)!important;
  overflow:hidden!important;
  list-style:none!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease!important;
}
.fasmm-public-menu--drawer>.fasmm-public-drawer__item:hover,
.fasmm-public-menu--drawer>.fasmm-public-drawer__item:focus-within{
  background:rgba(255,255,255,.105)!important;
  border-color:rgba(178,164,255,.42)!important;
}
.fasmm-public-menu--drawer .fasmm-public-drawer__link{
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  min-width:0!important;
  min-height:48px!important;
  padding:10px 12px!important;
  border:0!important;
  background:transparent!important;
  color:#f8fafc!important;
  text-decoration:none!important;
  font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:750!important;
  line-height:1.55!important;
}
.fasmm-public-drawer__icon{
  display:grid!important;place-items:center!important;width:27px!important;height:27px!important;flex:0 0 27px!important;
  border-radius:9px!important;background:rgba(124,103,238,.16)!important;color:#d9d3ff!important
}
.fasmm-public-drawer__icon .fasmm-public-icon{width:17px!important;height:17px!important}
.fasmm-public-drawer__label{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fasmm-public-menu--drawer .fasmm-public-drawer__submenu-toggle{
  display:grid!important;place-items:center!important;width:42px!important;height:48px!important;
  margin:0!important;padding:0!important;border:0!important;border-right:1px solid rgba(255,255,255,.08)!important;
  border-radius:0!important;background:transparent!important;color:#d8dee8!important;cursor:pointer!important
}
.fasmm-public-menu--drawer .fasmm-public-drawer__submenu-toggle:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
.fasmm-public-menu--drawer .fasmm-public-drawer__submenu-toggle .fasmm-public-icon{width:18px!important;height:18px!important;transition:transform .18s ease!important}
.fasmm-public-menu--drawer .fasmm-public-drawer__item.is-submenu-open>.fasmm-public-drawer__submenu-toggle>.fasmm-public-icon{transform:rotate(180deg)!important}
.fasmm-public-drawer__submenu{
  display:none!important;
  grid-column:1/-1!important;
  width:100%!important;
  padding:0 8px 8px!important;
}
.fasmm-public-drawer__item.is-submenu-open>.fasmm-public-drawer__submenu{display:block!important}
.fasmm-public-drawer__submenu .fasmm-public-menu--drawer{
  gap:5px!important;
  padding-top:2px!important;
}
.fasmm-public-drawer__submenu .fasmm-public-drawer__item{
  grid-template-columns:minmax(0,1fr)!important;
  border-color:rgba(255,255,255,.08)!important;
  border-radius:10px!important;
  background:rgba(15,23,42,.12)!important;
}
.fasmm-public-drawer__submenu .fasmm-public-drawer__link{
  min-height:40px!important;
  padding:8px 11px 8px 14px!important;
  color:#dbe4ee!important;
  font-size:12px!important;
  font-weight:650!important;
}
.fasmm-public-drawer__submenu .fasmm-public-drawer__link:before{
  content:""!important;width:6px!important;height:6px!important;flex:0 0 6px!important;border-radius:50%!important;background:#9e8dff!important
}

/* Drawer footer */
.fasmm-public-side-drawer__footer{
  display:grid!important;
  gap:8px!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important;
  border-top:1px solid rgba(255,255,255,.12)!important;
  background:rgba(16,24,38,.18)!important;
}
.fasmm-public-side-drawer__footer .fasmm-store-wallet-link,
.fasmm-public-side-drawer__footer .fasmm-store-login,
.fasmm-public-side-drawer__footer .fasmm-public-drawer__login-bottom{
  width:100%!important;min-height:44px!important;border:1px solid rgba(255,255,255,.15)!important;
  border-radius:12px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;box-shadow:none!important
}
.fasmm-public-drawer__logout{
  display:flex!important;align-items:center!important;gap:10px!important;min-height:44px!important;padding:10px 12px!important;
  border:1px solid rgba(248,113,113,.18)!important;border-radius:12px!important;background:rgba(127,29,29,.12)!important;
  color:#fecaca!important;text-decoration:none!important;font-size:13px!important;font-weight:800!important
}
.fasmm-public-drawer__logout .fasmm-public-icon{width:18px!important;height:18px!important}

@media(max-width:767px){
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__inner{width:calc(100% - 18px)!important;min-height:64px!important;gap:8px!important;padding:7px 0!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__brand{flex:0 1 180px!important;max-width:180px!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-site-logo__text{max-width:112px!important;font-size:13px!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__drawer-toggle{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;border-radius:13px!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__drawer-toggle span{display:none!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__actions .fasmm-store-wallet-link{max-width:128px!important;min-height:42px!important;padding:6px 9px!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__actions .fasmm-store-wallet-link span{font-size:10px!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__actions .fasmm-store-wallet-link b{font-size:11px!important}
  .fasmm-public-side-drawer{width:min(92vw,370px)!important}
}
@media(max-width:420px){
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__brand{flex:1 1 auto!important;max-width:none!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__actions{display:none!important}
  .fasmm-public-side-drawer{width:94vw!important}
}

/* ========================================================================
 * FollowerAbzar 80.2.0 - two-theme public contract + contrast audit
 * The same native header/drawer and all legacy-embedded customer tools use
 * one light/dark token set. This block deliberately comes last.
 * ====================================================================== */
:root{
  --fasmm-public-page:#f5f7fb;
  --fasmm-public-surface:#ffffff;
  --fasmm-public-surface-2:#f8fafc;
  --fasmm-public-surface-3:#eef2f7;
  --fasmm-public-text:#172033;
  --fasmm-public-muted:#64748b;
  --fasmm-public-border:#dfe5ef;
  --fasmm-public-border-strong:#cbd5e1;
  --fasmm-public-accent:#6257db;
  --fasmm-public-accent-soft:#f0efff;
  --fasmm-public-success:#07865f;
  --fasmm-public-shadow:0 14px 38px rgba(15,23,42,.08);
  --fasmm-drawer-bg:#ffffff;
  --fasmm-drawer-bg-2:#f7f8fc;
  --fasmm-drawer-card:#f8fafc;
  --fasmm-drawer-text:#172033;
  --fasmm-drawer-muted:#667085;
  --fasmm-drawer-border:#e0e6ef;
  --fasmm-drawer-icon-bg:#eeecff;
  --fasmm-drawer-icon:#6257db;
}
html[data-fasmm-theme="dark"],
html.fasmm-dark-preload,
body.fasmm-dark{
  --fasmm-public-page:#171522;
  --fasmm-public-surface:#242136;
  --fasmm-public-surface-2:#2d2941;
  --fasmm-public-surface-3:#37324d;
  --fasmm-public-text:#f7f5fb;
  --fasmm-public-muted:#cfc9da;
  --fasmm-public-border:#49445f;
  --fasmm-public-border-strong:#625b79;
  --fasmm-public-accent:#9a8cff;
  --fasmm-public-accent-soft:#332d50;
  --fasmm-public-success:#79e6bd;
  --fasmm-public-shadow:0 18px 44px rgba(0,0,0,.28);
  --fasmm-drawer-bg:#211e31;
  --fasmm-drawer-bg-2:#29253b;
  --fasmm-drawer-card:#2d2941;
  --fasmm-drawer-text:#f7f5fb;
  --fasmm-drawer-muted:#c9c3d4;
  --fasmm-drawer-border:#48425d;
  --fasmm-drawer-icon-bg:#393252;
  --fasmm-drawer-icon:#c7bdff;
}

/* First-paint ownership. */
html[data-fasmm-theme="light"] body:not(.wp-admin){background:var(--fasmm-public-page)!important;color:var(--fasmm-public-text)!important;color-scheme:light}
html[data-fasmm-theme="dark"] body:not(.wp-admin),
body.fasmm-dark:not(.wp-admin){background:var(--fasmm-public-page)!important;color:var(--fasmm-public-text)!important;color-scheme:dark}
body:not(.wp-admin) :where(.fasmm-site-wrap,.fasmm-page-content,.fasmm-storefront,.fasmm-legacy-panel-route,.fasmm-panel-view--standalone){color:var(--fasmm-public-text)}

/* Header + theme button. */
header.fasmm-public-header.fasmm-public-header--drawer{
  background:color-mix(in srgb,var(--fasmm-public-surface) 96%,transparent)!important;
  border-bottom-color:var(--fasmm-public-border)!important;
  box-shadow:0 8px 28px color-mix(in srgb,var(--fasmm-public-text) 8%,transparent)!important;
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-site-logo,
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-site-logo__text{color:var(--fasmm-public-text)!important}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-site-logo__monogram{background:var(--fasmm-public-accent-soft)!important;color:var(--fasmm-public-accent)!important}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-store-wallet-link{
  background:var(--fasmm-public-surface)!important;border-color:var(--fasmm-public-border)!important;color:var(--fasmm-public-text)!important;box-shadow:none!important
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-store-wallet-link:hover{background:var(--fasmm-public-surface-2)!important;border-color:var(--fasmm-public-border-strong)!important}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-store-wallet-link b{color:var(--fasmm-public-success)!important}
.fasmm-public-theme-toggle{
  display:inline-grid!important;place-items:center!important;width:46px!important;height:46px!important;min-width:46px!important;
  margin:0!important;padding:0!important;border:1px solid var(--fasmm-public-border)!important;border-radius:14px!important;
  background:var(--fasmm-public-surface)!important;color:var(--fasmm-public-text)!important;box-shadow:none!important;cursor:pointer!important;
  transition:transform .16s ease,background .16s ease,border-color .16s ease!important
}
.fasmm-public-theme-toggle:hover,.fasmm-public-theme-toggle:focus-visible{background:var(--fasmm-public-surface-2)!important;border-color:var(--fasmm-public-accent)!important;color:var(--fasmm-public-accent)!important;outline:3px solid color-mix(in srgb,var(--fasmm-public-accent) 18%,transparent)!important;outline-offset:2px!important}
.fasmm-public-theme-toggle .fasmm-public-icon{width:21px!important;height:21px!important;stroke-width:2!important}
.fasmm-public-theme-toggle__sun,.fasmm-public-theme-toggle__moon{display:grid!important;place-items:center!important}
.fasmm-public-theme-toggle__moon{display:none!important}
html[data-fasmm-theme="dark"] .fasmm-public-theme-toggle__sun,body.fasmm-dark .fasmm-public-theme-toggle__sun{display:none!important}
html[data-fasmm-theme="dark"] .fasmm-public-theme-toggle__moon,body.fasmm-dark .fasmm-public-theme-toggle__moon{display:grid!important}

/* Drawer follows the selected theme instead of always being dark. */
.fasmm-public-side-drawer{
  background:linear-gradient(180deg,var(--fasmm-drawer-bg) 0%,var(--fasmm-drawer-bg-2) 100%)!important;
  color:var(--fasmm-drawer-text)!important;border-left-color:var(--fasmm-drawer-border)!important;
  box-shadow:-24px 0 64px rgba(15,23,42,.24)!important
}
.fasmm-public-side-drawer__header{background:color-mix(in srgb,var(--fasmm-drawer-bg-2) 88%,transparent)!important;border-bottom-color:var(--fasmm-drawer-border)!important;color:var(--fasmm-drawer-text)!important}
.fasmm-public-side-drawer__header .fasmm-public-site-logo,
.fasmm-public-side-drawer__header .fasmm-public-site-logo__text{color:var(--fasmm-drawer-text)!important}
.fasmm-public-side-drawer__header .fasmm-public-site-logo__monogram{background:var(--fasmm-drawer-icon-bg)!important;color:var(--fasmm-drawer-icon)!important}
.fasmm-public-side-drawer__header .fasmm-public-mobile-drawer__close{background:var(--fasmm-drawer-card)!important;border-color:var(--fasmm-drawer-border)!important;color:var(--fasmm-drawer-text)!important}
.fasmm-public-side-drawer__header .fasmm-public-mobile-drawer__close:hover{background:var(--fasmm-public-accent-soft)!important;border-color:var(--fasmm-public-accent)!important;color:var(--fasmm-public-accent)!important}
.fasmm-public-drawer__profile{background:var(--fasmm-drawer-card)!important;border-color:var(--fasmm-drawer-border)!important;color:var(--fasmm-drawer-text)!important}
.fasmm-public-drawer__identity strong,.fasmm-public-drawer__profile>div>strong{color:var(--fasmm-drawer-text)!important}
.fasmm-public-drawer__identity small,.fasmm-public-drawer__profile>div>small{color:var(--fasmm-drawer-muted)!important}
.fasmm-public-drawer__avatar{border-color:color-mix(in srgb,var(--fasmm-public-accent) 55%,var(--fasmm-drawer-border))!important;background:var(--fasmm-public-accent-soft)!important;color:var(--fasmm-public-accent)!important}
.fasmm-public-menu--drawer .fasmm-public-drawer__item{background:var(--fasmm-drawer-card)!important;border-color:var(--fasmm-drawer-border)!important}
.fasmm-public-menu--drawer>.fasmm-public-drawer__item:hover,.fasmm-public-menu--drawer>.fasmm-public-drawer__item:focus-within{background:var(--fasmm-public-accent-soft)!important;border-color:color-mix(in srgb,var(--fasmm-public-accent) 55%,var(--fasmm-drawer-border))!important}
.fasmm-public-menu--drawer .fasmm-public-drawer__link{color:var(--fasmm-drawer-text)!important}
.fasmm-public-drawer__icon{background:var(--fasmm-drawer-icon-bg)!important;color:var(--fasmm-drawer-icon)!important}
.fasmm-public-menu--drawer .fasmm-public-drawer__submenu-toggle{border-right-color:var(--fasmm-drawer-border)!important;color:var(--fasmm-drawer-muted)!important}
.fasmm-public-menu--drawer .fasmm-public-drawer__submenu-toggle:hover{background:var(--fasmm-public-accent-soft)!important;color:var(--fasmm-public-accent)!important}
.fasmm-public-drawer__submenu .fasmm-public-drawer__item{background:color-mix(in srgb,var(--fasmm-drawer-card) 88%,var(--fasmm-drawer-bg))!important;border-color:var(--fasmm-drawer-border)!important}
.fasmm-public-drawer__submenu .fasmm-public-drawer__link{color:var(--fasmm-drawer-muted)!important}
.fasmm-public-drawer__submenu .fasmm-public-drawer__link:hover,.fasmm-public-drawer__submenu .fasmm-public-drawer__link:focus-visible{color:var(--fasmm-public-accent)!important}
.fasmm-public-drawer__submenu .fasmm-public-drawer__link:before{background:var(--fasmm-public-accent)!important}
.fasmm-public-side-drawer__footer{background:color-mix(in srgb,var(--fasmm-drawer-bg-2) 90%,transparent)!important;border-top-color:var(--fasmm-drawer-border)!important}
.fasmm-public-side-drawer__footer .fasmm-store-wallet-link,.fasmm-public-side-drawer__footer .fasmm-store-login,.fasmm-public-side-drawer__footer .fasmm-public-drawer__login-bottom{background:var(--fasmm-drawer-card)!important;border-color:var(--fasmm-drawer-border)!important;color:var(--fasmm-drawer-text)!important}

/* The old account-level/user-hub floating widgets are intentionally retired;
   account level remains available inside the drawer and representation page. */
body:not(.wp-admin) :is(.fasmm-representation-widget,#smm-rep-float,#smm-user-hub){display:none!important}

/* Legacy customer tools embedded into the new public shell. */
.fasmm-storefront-legacy-embed,.fasmm-legacy-panel-route.fasmm-materio-rtl{
  --bs-body-bg:var(--fasmm-public-page);--bs-body-color:var(--fasmm-public-text);--bs-heading-color:var(--fasmm-public-text);
  color:var(--fasmm-public-text)!important
}
.fasmm-storefront-legacy-embed>.fasmm-legacy-panel-route{margin:0!important}
.fasmm-storefront-legacy-wallet .fasmm-panel-view--standalone,
.fasmm-storefront-legacy-identity .fasmm-panel-view--standalone{width:100%!important;max-width:none!important;margin:0!important}

/* Standalone page canvas, cards and tables. */
body:not(.wp-admin) :where(.fasmm-sf-card,.fasmm-wallet-panel,.fasmm-legacy-panel-route .fasmm-card,.fasmm-legacy-panel-route .fasmm-wallet-page-head,.fasmm-legacy-panel-route .fasmm-wallet-payment-card,.fasmm-legacy-panel-route .fasmm-wallet-recharge-history,.fasmm-legacy-panel-route .fasmm-identity-step,.fasmm-legacy-panel-route .fasmm-identity-card,.fasmm-legacy-panel-route .fasmm-identity-hero){
  background:var(--fasmm-public-surface)!important;border-color:var(--fasmm-public-border)!important;color:var(--fasmm-public-text)!important;box-shadow:var(--fasmm-public-shadow)!important
}
body:not(.wp-admin) :where(.fasmm-legacy-panel-route,.fasmm-storefront-legacy-embed) :where(h1,h2,h3,h4,h5,h6,strong,b,label,th,legend){color:var(--fasmm-public-text)!important}
body:not(.wp-admin) :where(.fasmm-legacy-panel-route,.fasmm-storefront-legacy-embed) :where(p,small,.fasmm-muted,.fasmm-section-kicker,td){color:var(--fasmm-public-muted)!important}
body:not(.wp-admin) :where(.fasmm-legacy-panel-route,.fasmm-storefront-legacy-embed) :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){background:var(--fasmm-public-surface-2)!important;border-color:var(--fasmm-public-border)!important;color:var(--fasmm-public-text)!important;caret-color:var(--fasmm-public-text)!important}
body:not(.wp-admin) :where(.fasmm-legacy-panel-route,.fasmm-storefront-legacy-embed) :where(input,textarea)::placeholder{color:color-mix(in srgb,var(--fasmm-public-muted) 82%,transparent)!important;opacity:1!important}
body:not(.wp-admin) :where(.fasmm-legacy-panel-route,.fasmm-storefront-legacy-embed) table{background:var(--fasmm-public-surface)!important;color:var(--fasmm-public-text)!important;border-color:var(--fasmm-public-border)!important}
body:not(.wp-admin) :where(.fasmm-legacy-panel-route,.fasmm-storefront-legacy-embed) :where(thead,tr,th,td){border-color:var(--fasmm-public-border)!important}
body:not(.wp-admin) :where(.fasmm-legacy-panel-route,.fasmm-storefront-legacy-embed) thead th{background:var(--fasmm-public-surface-2)!important}

/* Wallet: preserve previous payment functionality, only normalize contrast. */
body:not(.wp-admin) .fasmm-legacy-panel-route :where(.fasmm-wallet-method-option,.fasmm-wallet-payment-panel,.fasmm-card-info,.fasmm-recharge-form,.fasmm-wallet-transaction-card,.fasmm-wallet-payment-head>small){background:var(--fasmm-public-surface-2)!important;border-color:var(--fasmm-public-border)!important;color:var(--fasmm-public-text)!important}
body:not(.wp-admin) .fasmm-legacy-panel-route .fasmm-wallet-payment-picker>input:checked+label{background:var(--fasmm-public-accent-soft)!important;border-color:var(--fasmm-public-accent)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--fasmm-public-accent) 14%,transparent)!important}
body:not(.wp-admin) .fasmm-legacy-panel-route :where(.fasmm-wallet-method-copy small,.fasmm-wallet-payment-head>small,.fasmm-recharge-amount-preview){color:var(--fasmm-public-muted)!important}
body:not(.wp-admin) .fasmm-legacy-panel-route :where(.fasmm-wallet-method-copy b,.fasmm-card-info bdi,.fasmm-wallet-payment-head h2){color:var(--fasmm-public-text)!important}

/* Identity: use the same readable surfaces for approved/pending/error states. */
body:not(.wp-admin) .fasmm-legacy-panel-route :where(.fasmm-identity-request,.fasmm-identity-card-visual,.fasmm-identity-card-edit,.fasmm-identity-form,.fasmm-zohal-live-panel,.fasmm-bank-inline-preview,.fasmm-card-check-state){border-color:var(--fasmm-public-border)!important;color:var(--fasmm-public-text)!important}
body.fasmm-dark .fasmm-legacy-panel-route :where(.fasmm-identity-request,.fasmm-identity-card-visual,.fasmm-identity-card-edit,.fasmm-identity-form,.fasmm-bank-inline-preview,.fasmm-card-check-state){background:var(--fasmm-public-surface-2)!important}

/* Focus visibility and minimum contrast for all public customer tools. */
body:not(.wp-admin) :where(.fasmm-public-header,.fasmm-public-side-drawer,.fasmm-legacy-panel-route,.fasmm-storefront) :where(a,button,input,select,textarea):focus-visible{outline:3px solid color-mix(in srgb,var(--fasmm-public-accent) 32%,transparent)!important;outline-offset:2px!important}
body.fasmm-dark :where(.fasmm-legacy-panel-route,.fasmm-storefront-legacy-embed) a:not(.fasmm-btn){color:#b8afff}
body.fasmm-dark :where(.fasmm-legacy-panel-route,.fasmm-storefront-legacy-embed) a:not(.fasmm-btn):hover{color:#d8d2ff}

@media(max-width:767px){
  .fasmm-public-theme-toggle{width:42px!important;height:42px!important;min-width:42px!important;border-radius:13px!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__actions{gap:6px!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__actions .fasmm-store-wallet-link{max-width:116px!important}
}

/* 80.2.0 mobile header: the theme switch is always available. */
@media(max-width:420px){
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__actions{display:flex!important;flex:0 0 auto!important;gap:6px!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__actions .fasmm-store-wallet-link,
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__actions .fasmm-store-login{display:none!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-theme-toggle{display:inline-grid!important}
}

/* ================================================================
   80.2.0 FINAL POLISH: full-width header + legacy wallet fidelity +
   dark/light contrast normalization for every embedded customer tool.
   ================================================================ */
:root{
  --fasmm-public-page:#f4f7fb;--fasmm-public-surface:#ffffff;--fasmm-public-surface-2:#f7f9fc;
  --fasmm-public-text:#172033;--fasmm-public-muted:#5d6a82;--fasmm-public-border:#dbe2ed;
  --fasmm-public-border-strong:#c5cede;--fasmm-public-accent:#6658e8;--fasmm-public-accent-soft:#f0edff;
  --fasmm-public-success:#07865f;--fasmm-public-warning:#9a6400;--fasmm-public-danger:#c93846;
  --fasmm-public-shadow:0 12px 38px rgba(26,38,68,.07)
}
html[data-fasmm-theme="dark"],body.fasmm-dark{
  --fasmm-public-page:#0f1020;--fasmm-public-surface:#191a2b;--fasmm-public-surface-2:#23243a;
  --fasmm-public-text:#f4f6fb;--fasmm-public-muted:#b8bfd2;--fasmm-public-border:#3c4059;
  --fasmm-public-border-strong:#565b78;--fasmm-public-accent:#9c8cff;--fasmm-public-accent-soft:#302b55;
  --fasmm-public-success:#4bd7a9;--fasmm-public-warning:#ffd06f;--fasmm-public-danger:#ff8894;
  --fasmm-public-shadow:0 14px 38px rgba(0,0,0,.30)
}

/* Header is intentionally stretched edge-to-edge on desktop and mobile. */
header.fasmm-public-header.fasmm-public-header--drawer{width:100%!important;max-width:none!important;margin:0!important;border-radius:0!important}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__inner{
  width:100%!important;max-width:none!important;margin:0!important;padding-inline:clamp(16px,3.2vw,64px)!important;
}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__spacer{min-width:24px}
header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__brand{max-width:min(42vw,360px)}

/* The legacy bridge owns layout. This layer only harmonizes color/contrast. */
body:not(.wp-admin) .fasmm-storefront-legacy-embed{width:100%;max-width:none}
body:not(.wp-admin) .fasmm-storefront-legacy-embed .fasmm-materio-rtl{color:var(--fasmm-public-text)!important}
body:not(.wp-admin) .fasmm-storefront-legacy-embed :is(.card,.fasmm-card,.fasmm-wallet-payment-card,.fasmm-wallet-recharge-history,.fasmm-wallet-page-head,.fasmm-identity-card,.fasmm-identity-step,.fasmm-dashboard-card,.fasmm-stats-card,.fasmm-chart-card){border-color:var(--fasmm-public-border)!important}

/* Wallet: keep the original payment/card-to-card structure and make each state readable. */
body:not(.wp-admin) .fasmm-storefront-legacy-wallet :is(.fasmm-wallet-page-head,.fasmm-wallet-hero,.fasmm-wallet-payment-card,.fasmm-wallet-recharge-history,.fasmm-recharge-form,.fasmm-wallet-method-option,.fasmm-wallet-payment-panel,.fasmm-card-info,.fasmm-wallet-transaction-card){
  color:var(--fasmm-public-text)!important;border-color:var(--fasmm-public-border)!important
}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet :is(.fasmm-wallet-method-option,.fasmm-wallet-payment-panel,.fasmm-card-info,.fasmm-recharge-form){background:var(--fasmm-public-surface)!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-picker>input:checked+label{
  background:var(--fasmm-public-accent-soft)!important;border-color:var(--fasmm-public-accent)!important;color:var(--fasmm-public-text)!important
}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet :is(.fasmm-wallet-method-option,.fasmm-wallet-payment-panel,.fasmm-card-info) :is(h2,h3,h4,b,strong,label,span){color:var(--fasmm-public-text)!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet :is(.fasmm-wallet-method-option,.fasmm-wallet-payment-panel,.fasmm-card-info) :is(p,small){color:var(--fasmm-public-muted)!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet input:not([type=radio]):not([type=checkbox]),
body:not(.wp-admin) .fasmm-storefront-legacy-wallet select,
body:not(.wp-admin) .fasmm-storefront-legacy-wallet textarea{background:var(--fasmm-public-surface-2)!important;color:var(--fasmm-public-text)!important;border-color:var(--fasmm-public-border)!important}

/* Dark mode: never allow old literal-white panels to wash out text. */
html[data-fasmm-theme="dark"] body:not(.wp-admin),body.fasmm-dark:not(.wp-admin){background:var(--fasmm-public-page)!important;color:var(--fasmm-public-text)!important}
html[data-fasmm-theme="dark"] body:not(.wp-admin) :is(.fasmm-page-content,.fasmm-storefront,.fasmm-storefront-legacy-embed,.fasmm-panel-view--standalone),
body.fasmm-dark:not(.wp-admin) :is(.fasmm-page-content,.fasmm-storefront,.fasmm-storefront-legacy-embed,.fasmm-panel-view--standalone){background-color:transparent!important;color:var(--fasmm-public-text)!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(.card,.fasmm-card,.fasmm-wallet-page-head,.fasmm-wallet-payment-card,.fasmm-wallet-recharge-history,.fasmm-recharge-form,.fasmm-wallet-method-option,.fasmm-wallet-payment-panel,.fasmm-card-info,.fasmm-identity-card,.fasmm-identity-step,.fasmm-identity-hero,.fasmm-identity-form,.fasmm-dashboard-card,.fasmm-stats-card,.fasmm-chart-card,.fasmm-activity-card,.fasmm-representation-card),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(.card,.fasmm-card,.fasmm-wallet-page-head,.fasmm-wallet-payment-card,.fasmm-wallet-recharge-history,.fasmm-recharge-form,.fasmm-wallet-method-option,.fasmm-wallet-payment-panel,.fasmm-card-info,.fasmm-identity-card,.fasmm-identity-step,.fasmm-identity-hero,.fasmm-identity-form,.fasmm-dashboard-card,.fasmm-stats-card,.fasmm-chart-card,.fasmm-activity-card,.fasmm-representation-card){
  background:var(--fasmm-public-surface)!important;color:var(--fasmm-public-text)!important;border-color:var(--fasmm-public-border)!important;box-shadow:var(--fasmm-public-shadow)!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(.fasmm-soft,.fasmm-stat-box,.fasmm-payment-box,.fasmm-bank-inline-preview,.fasmm-card-check-state,.fasmm-identity-request,.fasmm-history-row,.fasmm-activity-metric,.fasmm-wallet-summary-card),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(.fasmm-soft,.fasmm-stat-box,.fasmm-payment-box,.fasmm-bank-inline-preview,.fasmm-card-check-state,.fasmm-identity-request,.fasmm-history-row,.fasmm-activity-metric,.fasmm-wallet-summary-card){background:var(--fasmm-public-surface-2)!important;color:var(--fasmm-public-text)!important;border-color:var(--fasmm-public-border)!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend,th,.title,.form-label),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend,th,.title,.form-label){color:var(--fasmm-public-text)!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(p,small,td,.text-muted,.fasmm-muted,.fasmm-helper,.description),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(p,small,td,.text-muted,.fasmm-muted,.fasmm-helper,.description){color:var(--fasmm-public-muted)!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(input:not([type=checkbox]):not([type=radio]),select,textarea),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#24263d!important;color:#f5f6fb!important;border-color:#4b506c!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(input,textarea)::placeholder,
body.fasmm-dark .fasmm-storefront-legacy-embed :is(input,textarea)::placeholder{color:#9da6bf!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed table,
body.fasmm-dark .fasmm-storefront-legacy-embed table{background:var(--fasmm-public-surface)!important;color:var(--fasmm-public-text)!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(thead,tbody,tr,th,td),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(thead,tbody,tr,th,td){border-color:var(--fasmm-public-border)!important;background-color:transparent!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed thead th,
body.fasmm-dark .fasmm-storefront-legacy-embed thead th{background:var(--fasmm-public-surface-2)!important}

/* Download product UI. */
.fasmm-product-type-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;background:var(--fasmm-public-accent-soft);color:var(--fasmm-public-accent);border:1px solid color-mix(in srgb,var(--fasmm-public-accent) 26%,transparent)}
.fasmm-account-downloads{display:grid;gap:10px;margin-top:12px}.fasmm-account-downloads a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border:1px solid var(--fasmm-public-border);border-radius:12px;background:var(--fasmm-public-surface-2);font-weight:800;text-decoration:none}.fasmm-account-downloads a:hover{border-color:var(--fasmm-public-accent);background:var(--fasmm-public-accent-soft)}

@media(max-width:767px){header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__inner{padding-inline:12px!important}.fasmm-public-theme-toggle{width:42px!important;height:42px!important}}

/* 80.2.0 dark-mode legacy component ownership: override literal legacy whites. */
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-wallet-recharge-history>summary,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-wallet-recharge-history>summary,
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-recharge-item,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-recharge-item,
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-identity-request-row,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-identity-request-row,
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-dashboard-chart-card,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-dashboard-chart-card{
  background:var(--fasmm-public-surface)!important;
  color:var(--fasmm-public-text)!important;
  border-color:var(--fasmm-public-border)!important;
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-recharge-item.approved,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-recharge-item.approved{background:#162d2a!important;border-color:#315950!important;border-inline-start-color:#4bd7a9!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-recharge-item:is(.rejected,.failed),
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-recharge-item:is(.rejected,.failed){background:#34212b!important;border-color:#68404c!important;border-inline-start-color:#ff8894!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-recharge-meta span,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-recharge-meta span,
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-identity-request-meta span,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-identity-request-meta span,
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-identity-mask,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-identity-mask{
  background:var(--fasmm-public-surface-2)!important;color:var(--fasmm-public-text)!important;border-color:var(--fasmm-public-border)!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-wallet-payment-head>small,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-wallet-payment-head>small{
  background:var(--fasmm-public-surface-2)!important;color:var(--fasmm-public-muted)!important;border:1px solid var(--fasmm-public-border)!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-wallet-recharge-history .fasmm-recharge-list,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-wallet-recharge-history .fasmm-recharge-list{border-top-color:var(--fasmm-public-border)!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-wallet-recharge-history[open]>summary,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-wallet-recharge-history[open]>summary{border-bottom-color:var(--fasmm-public-border)!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-wallet-recharge-history>summary>span>i,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-wallet-recharge-history>summary>span>i{background:var(--fasmm-public-accent-soft)!important;color:var(--fasmm-public-accent)!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-wallet-recharge-history>summary small,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-wallet-recharge-history>summary small,
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-dashboard-chart-card>header small,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-dashboard-chart-card>header small,
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-identity-request-main small,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-identity-request-main small,
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-identity-request-row>p,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-identity-request-row>p{color:var(--fasmm-public-muted)!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-identity-request-row>p,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-identity-request-row>p{border-top-color:var(--fasmm-public-border)!important}

/* Preserve brand/action colors while preventing low-opacity washed-out legacy blocks. */
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(.fasmm-dashboard-chart-card,.fasmm-dashboard-status-section,.fasmm-wallet-payment-card,.fasmm-identity-requests) *,
body.fasmm-dark .fasmm-storefront-legacy-embed :is(.fasmm-dashboard-chart-card,.fasmm-dashboard-status-section,.fasmm-wallet-payment-card,.fasmm-identity-requests) *{text-shadow:none}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(.fasmm-dashboard-chart-card,.fasmm-dashboard-status-section,.fasmm-wallet-payment-card,.fasmm-identity-requests) :is(h1,h2,h3,h4,h5,h6,p,span,small,b,strong,label),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(.fasmm-dashboard-chart-card,.fasmm-dashboard-status-section,.fasmm-wallet-payment-card,.fasmm-identity-requests) :is(h1,h2,h3,h4,h5,h6,p,span,small,b,strong,label){opacity:1}

/* Light mode remains deliberately neutral, with visible borders and readable muted copy. */
html[data-fasmm-theme="light"] .fasmm-storefront-legacy-embed :is(.fasmm-recharge-item,.fasmm-identity-request-row,.fasmm-dashboard-chart-card,.fasmm-wallet-recharge-history>summary){color:#172033!important;border-color:#dbe2ed!important}
html[data-fasmm-theme="light"] .fasmm-storefront-legacy-embed :is(.fasmm-recharge-meta span,.fasmm-identity-request-meta span,.fasmm-identity-mask){color:#475569!important;border-color:#dbe2ed!important}

/* ================================================================
   80.2.1 FINAL FIX: dark SMM orders, legacy recharge fidelity,
   readable light drawer logout, and stronger legacy contrast.
   ================================================================ */

/* Light drawer logout must read as an intentional destructive action. */
html:not([data-fasmm-theme="dark"]) .fasmm-public-side-drawer .fasmm-public-drawer__logout,
html[data-fasmm-theme="light"] .fasmm-public-side-drawer .fasmm-public-drawer__logout,
body:not(.fasmm-dark) .fasmm-public-side-drawer .fasmm-public-drawer__logout{
  background:#fff1f2!important;border:1px solid #fda4af!important;color:#9f1239!important;
  box-shadow:0 3px 12px rgba(159,18,57,.06)!important
}
html:not([data-fasmm-theme="dark"]) .fasmm-public-side-drawer .fasmm-public-drawer__logout:hover,
html[data-fasmm-theme="light"] .fasmm-public-side-drawer .fasmm-public-drawer__logout:hover,
body:not(.fasmm-dark) .fasmm-public-side-drawer .fasmm-public-drawer__logout:hover{
  background:#ffe4e6!important;border-color:#fb7185!important;color:#881337!important
}

/* SMM order list: the legacy status colors remain, but surfaces are owned by the active theme. */
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-item.fasmm-order-card,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-item.fasmm-order-card{
  background:#1b1c2d!important;border:1px solid #41455f!important;color:#f7f8fc!important;
  box-shadow:0 12px 28px rgba(0,0,0,.18)!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__header,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__header{
  background:transparent!important;border-color:#41455f!important;color:#f7f8fc!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(.fasmm-order-number,.fasmm-order-service-name,.fasmm-order-card__header h3,.fasmm-order-card__header b),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(.fasmm-order-number,.fasmm-order-service-name,.fasmm-order-card__header h3,.fasmm-order-card__header b){color:#f7f8fc!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__header time,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__header time{color:#c2c8d8!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(.fasmm-order-card__target,.fasmm-order-target,.fasmm-order-link-box,.fasmm-order-card__progress,.fasmm-order-card__stats .fasmm-order-meta-item,.fasmm-order-card__description,.fasmm-order-card__optional-actions details),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(.fasmm-order-card__target,.fasmm-order-target,.fasmm-order-link-box,.fasmm-order-card__progress,.fasmm-order-card__stats .fasmm-order-meta-item,.fasmm-order-card__description,.fasmm-order-card__optional-actions details){
  background:#26283d!important;border-color:#484c67!important;color:#f4f6fb!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(.fasmm-order-target input,.fasmm-order-target .fasmm-order-link,.fasmm-order-card__target input,.fasmm-order-card__target .fasmm-order-target-value),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(.fasmm-order-target input,.fasmm-order-target .fasmm-order-link,.fasmm-order-card__target input,.fasmm-order-card__target .fasmm-order-target-value){
  background:#121421!important;border-color:#4d526e!important;color:#ffffff!important;opacity:1!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__stats :is(span,small),
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__stats :is(span,small){color:#bdc4d7!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__stats :is(b,strong),
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__stats :is(b,strong){color:#ffffff!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-status-message,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-status-message{background:#2a2c42!important;border-color:#4b4f69!important;color:#eef1f8!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-status-message p,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-status-message p{color:#eef1f8!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__optional-actions :is(summary,p,label,span,b,strong),
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__optional-actions :is(summary,p,label,span,b,strong){color:#eef1f8!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(.fasmm-orders-toolbar,.fasmm-orders-filters,.fasmm-order-status-mobile,.fasmm-orders-status-tabs),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(.fasmm-orders-toolbar,.fasmm-orders-filters,.fasmm-order-status-mobile,.fasmm-orders-status-tabs){color:#f4f6fb!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-orders-status-tabs :is(a,button),
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-orders-status-tabs :is(a,button){background:#25273b!important;border-color:#454a64!important;color:#e9edf7!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-orders-status-tabs :is(a,button).active,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-orders-status-tabs :is(a,button).active{background:#6658e8!important;border-color:#8478ff!important;color:#fff!important}

/* Status-accented panels retain meaning without turning the entire card into low-contrast color. */
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card.status-completed .fasmm-order-card__progress,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card.status-completed .fasmm-order-card__progress{background:#17382f!important;border-color:#2c6855!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card.status-pending .fasmm-order-card__progress,
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card.status-processing .fasmm-order-card__progress,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card.status-pending .fasmm-order-card__progress,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card.status-processing .fasmm-order-card__progress{background:#3b3020!important;border-color:#755c2e!important}

/* Wallet/recharge: three clear methods, then one focused panel. */
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-card{padding:clamp(16px,2vw,24px)!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:14px!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-picker{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0 0 16px!important
}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-picker>input{position:absolute!important;opacity:0!important;pointer-events:none!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-option{
  min-height:104px!important;margin:0!important;padding:14px!important;display:grid!important;
  grid-template-columns:24px 46px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;
  border:1px solid var(--fasmm-public-border)!important;border-radius:16px!important;background:var(--fasmm-public-surface)!important;
  cursor:pointer!important;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important
}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-option:hover{border-color:var(--fasmm-public-accent)!important;transform:translateY(-1px)!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-radio{width:20px!important;height:20px!important;border:2px solid var(--fasmm-public-border-strong)!important;border-radius:50%!important;background:var(--fasmm-public-surface)!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-picker>input:checked+label .fasmm-wallet-method-radio{border:6px solid var(--fasmm-public-accent)!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-brand{width:46px!important;height:46px!important;border-radius:12px!important;background:var(--fasmm-public-surface-2)!important;display:grid!important;place-items:center!important;overflow:hidden!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-brand img{max-width:34px!important;max-height:34px!important;object-fit:contain!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-copy{display:grid!important;gap:3px!important;min-width:0!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-copy b{font-size:14px!important;line-height:1.6!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-copy small{font-size:11px!important;line-height:1.7!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-panel{
  margin-top:0!important;padding:16px!important;border:1px solid var(--fasmm-public-border)!important;border-radius:16px!important;
  background:var(--fasmm-public-surface-2)!important
}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-panel[hidden]{display:none!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet :is(.fasmm-zibal-pay-form,.fasmm-zarinpal-pay-form,.fasmm-card-transfer-form){gap:14px!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet :is(.fasmm-zibal-pay-form,.fasmm-zarinpal-pay-form,.fasmm-card-transfer-form)>label{display:grid!important;gap:7px!important;color:var(--fasmm-public-text)!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-recharge-gift-live{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:8px!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-recharge-gift-live>span{padding:9px!important;border:1px solid var(--fasmm-public-border)!important;border-radius:11px!important;background:var(--fasmm-public-surface)!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-recharge-gift-live>span.is-total{background:color-mix(in srgb,var(--fasmm-public-success) 9%,var(--fasmm-public-surface))!important;border-color:color-mix(in srgb,var(--fasmm-public-success) 28%,var(--fasmm-public-border))!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-card-destination{margin-bottom:12px!important;padding:13px 14px!important;border-radius:13px!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-recharge-form .fasmm-btn-primary{min-height:48px!important;border-radius:13px!important;font-weight:900!important}

html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-wallet .fasmm-wallet-method-option,
body.fasmm-dark .fasmm-storefront-legacy-wallet .fasmm-wallet-method-option{background:#202237!important;border-color:#434862!important;color:#f4f6fb!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-picker>input:checked+label,
body.fasmm-dark .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-picker>input:checked+label{background:#312d55!important;border-color:#9385ff!important;box-shadow:0 0 0 2px rgba(147,133,255,.16)!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-panel,
body.fasmm-dark .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-panel{background:#202237!important;border-color:#434862!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-wallet .fasmm-recharge-gift-live>span,
body.fasmm-dark .fasmm-storefront-legacy-wallet .fasmm-recharge-gift-live>span{background:#292b42!important;border-color:#484d67!important;color:#f4f6fb!important}

@media(max-width:900px){
  body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-picker{grid-template-columns:1fr!important}
  body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-option{min-height:82px!important}
}
@media(max-width:600px){
  body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-head{align-items:flex-start!important;flex-direction:column!important}
  body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-option{grid-template-columns:22px 40px minmax(0,1fr)!important;padding:12px!important}
  body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-recharge-gift-live{grid-template-columns:1fr!important}
  body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-panel{padding:12px!important}
}

/* 80.2.1 wallet layout collision guard: old wallet.css uses named grid areas. */
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-option{
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important
}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-option :is(.fasmm-wallet-method-radio,.fasmm-wallet-method-brand,.fasmm-wallet-method-copy){grid-area:auto!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-copy{flex:1 1 auto!important;text-align:right!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-radio{flex:0 0 20px!important}
body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-brand{flex:0 0 46px!important}
@media(max-width:600px){body:not(.wp-admin) .fasmm-storefront-legacy-wallet .fasmm-wallet-method-brand{flex-basis:40px!important;width:40px!important;height:40px!important}}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-target__value,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-target__value{
  background:#121421!important;border:1px solid #4d526e!important;color:#ffffff!important;opacity:1!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-target__copy,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-target__copy{
  background:#302b55!important;border-color:#6259a7!important;color:#dcd7ff!important
}

/* ======================================================================
   80.2.2 FINAL UI BRIDGE
   Stable legacy SMM renderer + high contrast dark mode + wallet fidelity.
   This layer is intentionally loaded last and does not change SMM markup.
   ====================================================================== */

/* --- SMM orders / dark: every legacy card owns a dark surface. --- */
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-list,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-list{
  background:transparent!important;color:#eef2ff!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card{
  background:#191c2b!important;border:1px solid #343a52!important;color:#f8fafc!important;
  box-shadow:0 12px 30px rgba(0,0,0,.24)!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card :is(h2,h3,h4,b,strong,label),
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card :is(h2,h3,h4,b,strong,label){color:#f8fafc!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card :is(p,small,time,.fasmm-order-created),
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card :is(p,small,time,.fasmm-order-created){color:#cbd5e1!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-service-name,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-service-name{color:#ffffff!important;text-shadow:none!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-number,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-number{background:#272b40!important;border-color:#454d69!important;color:#fff!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-copy-icon,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-copy-icon{background:#2c3149!important;border-color:#4a5373!important;color:#dbe4ff!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-target,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-target{
  background:#24283b!important;border:1px solid #3e4662!important;color:#f8fafc!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-target__label,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-target__label{color:#cbd5e1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-target__value,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-target__value{
  background:#0f1320!important;border:1px solid #424b68!important;color:#fff!important;font-weight:800!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-target__copy,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-target__copy{
  background:#352f64!important;border-color:#685fd1!important;color:#f1efff!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__progress,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__progress{
  background:#202537!important;border:1px solid #39415a!important;color:#f8fafc!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__progress :is(span,b,strong),
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__progress :is(span,b,strong){color:#fff!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card.status-completed .fasmm-order-card__progress,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card.status-completed .fasmm-order-card__progress{background:#16382f!important;border-color:#2f745d!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card:is(.status-pending,.status-processing) .fasmm-order-card__progress,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card:is(.status-pending,.status-processing) .fasmm-order-card__progress{background:#3d3020!important;border-color:#84642d!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-meta-item,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-meta-item{
  background:#23283a!important;border:1px solid #3a435e!important;color:#f8fafc!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-meta-item small,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-meta-item small{color:#aeb8cc!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-meta-item b,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-meta-item b{color:#fff!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__description,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__description{background:transparent!important;color:#f8fafc!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-status-message,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-status-message{
  background:#272c3f!important;border:1px solid #414a65!important;color:#f8fafc!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-status-message :is(p,span,b,strong),
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-status-message :is(p,span,b,strong){color:#eef2ff!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__optional-actions details,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__optional-actions details{
  background:#22263a!important;border:1px solid #3c4561!important;color:#f8fafc!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__optional-actions :is(summary,p,span,small,label,b,strong),
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__optional-actions :is(summary,p,span,small,label,b,strong){color:#eef2ff!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__actions,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__actions{border-top-color:#343b54!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__actions .fasmm-btn,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__actions .fasmm-btn{
  background:#282d41!important;border:1px solid #414a66!important;color:#f3f6ff!important
}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed .fasmm-order-card__actions .fasmm-btn:hover,
body.fasmm-dark .fasmm-storefront-legacy-embed .fasmm-order-card__actions .fasmm-btn:hover{background:#343a54!important;border-color:#68739a!important;color:#fff!important}

/* Filter/search controls are deliberately darker than the cards. */
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(.fasmm-order-search-card,.fasmm-orders-toolbar,.fasmm-order-filter-tabs,.fasmm-order-status-mobile),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(.fasmm-order-search-card,.fasmm-orders-toolbar,.fasmm-order-filter-tabs,.fasmm-order-status-mobile){background:#171a28!important;border-color:#343b52!important;color:#f8fafc!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(input,select,textarea),
body.fasmm-dark .fasmm-storefront-legacy-embed :is(input,select,textarea){background:#10131e!important;border-color:#46506c!important;color:#fff!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-embed :is(input,textarea)::placeholder,
body.fasmm-dark .fasmm-storefront-legacy-embed :is(input,textarea)::placeholder{color:#8f9bb1!important;opacity:1!important}

/* --- Wallet / recharge: retain legacy logic but use a predictable, non-overlapping layout. --- */
.fasmm-storefront-legacy-wallet .fasmm-wallet-payment-card{overflow:visible!important}
.fasmm-storefront-legacy-wallet .fasmm-wallet-payment-picker{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;width:100%!important}
.fasmm-storefront-legacy-wallet .fasmm-wallet-method-option{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;min-height:116px!important;padding:16px!important;border-radius:18px!important}
.fasmm-storefront-legacy-wallet .fasmm-wallet-method-copy{min-width:0!important;white-space:normal!important}
.fasmm-storefront-legacy-wallet .fasmm-wallet-payment-panel{width:100%!important;box-sizing:border-box!important;overflow:visible!important}
.fasmm-storefront-legacy-wallet :is(.fasmm-zibal-pay-form,.fasmm-zarinpal-pay-form,.fasmm-card-transfer-form){display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important}
.fasmm-storefront-legacy-wallet :is(.fasmm-zibal-pay-form,.fasmm-zarinpal-pay-form,.fasmm-card-transfer-form) :is(input,select,textarea,button){max-width:100%!important;box-sizing:border-box!important}
.fasmm-storefront-legacy-wallet .fasmm-card-transfer-form :is(.fasmm-card-select,.fasmm-wallet-card-destination){width:100%!important;min-width:0!important}
.fasmm-storefront-legacy-wallet .fasmm-recharge-gift-live{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-wallet :is(.fasmm-wallet-payment-card,.fasmm-wallet-payment-panel,.fasmm-card-transfer-form,.fasmm-wallet-card-destination),
body.fasmm-dark .fasmm-storefront-legacy-wallet :is(.fasmm-wallet-payment-card,.fasmm-wallet-payment-panel,.fasmm-card-transfer-form,.fasmm-wallet-card-destination){background:#191d2c!important;border-color:#384158!important;color:#f8fafc!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-wallet :is(h2,h3,h4,label,b,strong),
body.fasmm-dark .fasmm-storefront-legacy-wallet :is(h2,h3,h4,label,b,strong){color:#f8fafc!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-wallet :is(p,small,span),
body.fasmm-dark .fasmm-storefront-legacy-wallet :is(p,small,span){color:#cbd5e1!important;opacity:1!important}
html[data-fasmm-theme="dark"] .fasmm-storefront-legacy-wallet :is(input,select,textarea),
body.fasmm-dark .fasmm-storefront-legacy-wallet :is(input,select,textarea){background:#0f1320!important;border-color:#47516e!important;color:#fff!important}

/* Light logout remains clearly destructive and readable. */
html[data-fasmm-theme="light"] .fasmm-public-side-drawer .fasmm-public-drawer__logout,
body:not(.fasmm-dark) .fasmm-public-side-drawer .fasmm-public-drawer__logout{background:#fff1f2!important;color:#9f1239!important;border-color:#fda4af!important;font-weight:850!important}

@media(max-width:900px){
  .fasmm-storefront-legacy-wallet .fasmm-wallet-payment-picker{grid-template-columns:1fr!important}
  .fasmm-storefront-legacy-wallet .fasmm-wallet-method-option{min-height:82px!important}
}


/* 80.2.10 — unified cart launcher: visible in the native public header without
   depending on Materio/Remix icon fonts. */
header.fasmm-public-header .fasmm-header-cart{
  -webkit-appearance:none!important;appearance:none!important;position:relative!important;
  display:inline-grid!important;place-items:center!important;width:46px!important;height:46px!important;
  min-width:46px!important;min-height:46px!important;margin:0!important;padding:0!important;
  border:1px solid var(--fasmm-public-border)!important;border-radius:14px!important;
  background:var(--fasmm-public-surface)!important;color:var(--fasmm-public-text)!important;
  box-shadow:none!important;cursor:pointer!important;overflow:visible!important;line-height:1!important
}
header.fasmm-public-header .fasmm-header-cart:hover,
header.fasmm-public-header .fasmm-header-cart:focus-visible{border-color:var(--fasmm-public-accent,var(--fasmm-public-primary))!important;color:var(--fasmm-public-accent,var(--fasmm-public-primary))!important;outline:3px solid color-mix(in srgb,var(--fasmm-public-accent,var(--fasmm-public-primary)) 18%,transparent)!important;outline-offset:2px!important}
header.fasmm-public-header .fasmm-header-cart__icon{display:grid!important;place-items:center!important;width:24px!important;height:24px!important}
header.fasmm-public-header .fasmm-header-cart__svg,
header.fasmm-public-header .fasmm-header-cart__icon .fasmm-public-icon{display:block!important;width:24px!important;height:24px!important;color:currentColor!important}
header.fasmm-public-header .fasmm-header-cart .fasmm-cart-count{position:absolute!important;top:-7px!important;right:-7px!important;left:auto!important;display:grid!important;place-items:center!important;min-width:21px!important;height:21px!important;padding:0 5px!important;border:2px solid var(--fasmm-public-surface)!important;border-radius:999px!important;background:#e23d55!important;color:#fff!important;font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important;font-size:10px!important;font-weight:900!important;line-height:1!important;z-index:2!important}
header.fasmm-public-header .fasmm-header-cart:not(.has-items) .fasmm-cart-count{display:none!important}
header.fasmm-public-header .fasmm-public-header__cart-action--mobile{display:none!important}
@media(max-width:1023px){
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__actions{display:none!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__mobile-actions{display:flex!important;align-items:center!important;order:3!important;margin-inline-start:auto!important}
  header.fasmm-public-header .fasmm-public-header__cart-action--mobile{display:inline-grid!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__spacer{display:none!important}
  header.fasmm-public-header.fasmm-public-header--drawer .fasmm-public-header__brand{flex:1 1 auto!important;max-width:none!important}
}
@media(max-width:480px){header.fasmm-public-header .fasmm-header-cart{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border-radius:13px!important}}

/* Drawer icon SVGs are independent from icon-font availability. */
.fasmm-cart-head-icon .fasmm-public-icon,.fasmm-cart-close .fasmm-public-icon{width:22px!important;height:22px!important}


/* 80.2.10 cart visibility hardening */
header.fasmm-public-header .fasmm-public-header__actions>.fasmm-header-cart,
header.fasmm-public-header .fasmm-public-header__actions>.fasmm-public-header__cart-action{display:inline-grid!important;visibility:visible!important;opacity:1!important;flex:0 0 46px!important}
header.fasmm-public-header .fasmm-header-cart__icon svg{display:block!important;width:23px!important;height:23px!important;fill:none!important;stroke:currentColor!important}
@media(min-width:1024px){header.fasmm-public-header .fasmm-public-header__mobile-actions{display:none!important}}
@media(max-width:1023px){header.fasmm-public-header .fasmm-public-header__mobile-actions>.fasmm-header-cart{display:inline-grid!important;visibility:visible!important;opacity:1!important}}


/* 80.2.11 — mobile cart ownership + 10px open-menu radius */
header.fasmm-public-header .fasmm-public-header__drawer-control{display:flex!important;align-items:center!important;gap:8px!important}
header.fasmm-public-header .fasmm-public-header__drawer-control>.fasmm-public-header__mobile-actions{display:none!important}
.fasmm-public-side-drawer,.fasmm-public-mobile-drawer,.fasmm-cart-drawer,.fasmm-notification-dropdown,.fasmm-public-header-menu .sub-menu,.fasmm-public-drawer__submenu{border-radius:10px!important}
@media(max-width:1023px){
  header.fasmm-public-header .fasmm-public-header__drawer-control>.fasmm-public-header__mobile-actions{display:flex!important;align-items:center!important;order:0!important;margin:0!important;visibility:visible!important;opacity:1!important}
  header.fasmm-public-header .fasmm-public-header__drawer-control>.fasmm-public-header__mobile-actions .fasmm-header-cart{display:inline-grid!important;visibility:visible!important;opacity:1!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
  header.fasmm-public-header .fasmm-public-header__drawer-control>.fasmm-public-mobile-menu{order:1!important}
  .fasmm-public-side-drawer,.fasmm-public-mobile-drawer{top:8px!important;bottom:8px!important;right:8px!important;height:auto!important;max-height:calc(100dvh - 16px)!important;border-radius:10px!important}
}


/* 80.2.11 - keep public mobile cart beside the menu control. */
@media(max-width:1023px){
  header.fasmm-public-header .fasmm-public-header__drawer-control{display:flex!important;align-items:center!important;gap:7px!important;position:relative!important;z-index:60!important}
  header.fasmm-public-header .fasmm-public-header__drawer-control>.fasmm-public-header__mobile-actions{display:flex!important;align-items:center!important;gap:7px!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:61!important;margin:0!important}
  header.fasmm-public-header .fasmm-public-header__drawer-control>.fasmm-public-header__mobile-actions>.fasmm-header-cart{display:inline-grid!important;visibility:visible!important;opacity:1!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border-radius:10px!important}
  header.fasmm-public-header .fasmm-public-header__drawer-control>.fasmm-public-header__mobile-actions>.fasmm-header-cart .fasmm-header-cart__icon{display:grid!important}
}
header.fasmm-public-header :is(.fasmm-public-header-menu .sub-menu,.fasmm-public-side-drawer,.fasmm-public-mobile-drawer,.fasmm-notification-dropdown),.fasmm-cart-drawer{border-radius:10px!important}
/* 80.3.6 — main drawer sections toggle from their title; navigation lives in the «بخش اصلی» child. */
.fasmm-public-menu--drawer>.fasmm-public-drawer__item.is-section-toggle{grid-template-columns:minmax(0,1fr)!important}
.fasmm-public-menu--drawer>.fasmm-public-drawer__item.is-section-toggle>.fasmm-public-drawer__section-toggle{display:grid!important;grid-template-columns:27px minmax(0,1fr) 20px!important;align-items:center!important;gap:11px!important;width:100%!important;height:auto!important;min-height:50px!important;margin:0!important;padding:10px 12px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--fasmm-drawer-text,#0f172a)!important;text-align:start!important}
.fasmm-public-menu--drawer>.fasmm-public-drawer__item.is-section-toggle>.fasmm-public-drawer__section-toggle:hover,.fasmm-public-menu--drawer>.fasmm-public-drawer__item.is-section-toggle>.fasmm-public-drawer__section-toggle:focus-visible{background:color-mix(in srgb,var(--fasmm-public-accent,#6d5dfc) 8%,transparent)!important;outline:none!important}
.fasmm-public-menu--drawer .fasmm-public-drawer__section-toggle>.fasmm-public-drawer__section-chevron{width:18px!important;height:18px!important;margin:0!important;color:var(--fasmm-drawer-muted,#64748b)!important;transition:transform .18s ease!important}
.fasmm-public-menu--drawer .fasmm-public-drawer__item.is-submenu-open>.fasmm-public-drawer__section-toggle>.fasmm-public-drawer__section-chevron{transform:rotate(180deg)!important}
.fasmm-public-menu--drawer .fasmm-public-drawer__item.is-submenu-open>.fasmm-public-drawer__section-toggle .fasmm-public-drawer__icon .fasmm-public-icon{transform:none!important}

