/* FollowerAbzar 80.3.27 — mobile login containment and guest order gate. */
header.fasmm-public-header,
.fasmm-site-header-v37,
header.fasmm-public-header .fasmm-public-header__inner,
.fasmm-site-header-v37 .fasmm-topbar-inner,
.fasmm-materio-panel .layout-navbar{
  border-radius:10px!important;
  background-clip:padding-box!important;
}

@media (max-width:1023.98px){
  body>.fasmm-public-side-drawer[data-fasmm-portaled="1"],
  body>.fasmm-public-mobile-drawer[data-fasmm-portaled="1"],
  .fasmm-public-side-drawer,
  .fasmm-public-mobile-drawer{
    box-sizing:border-box!important;
    min-width:0!important;
  }

  body>.fasmm-public-side-drawer[data-fasmm-portaled="1"] :is(.fasmm-public-drawer__profile,.fasmm-public-side-drawer__footer,.fasmm-public-mobile-drawer__actions),
  body>.fasmm-public-mobile-drawer[data-fasmm-portaled="1"] :is(.fasmm-public-drawer__profile,.fasmm-public-side-drawer__footer,.fasmm-public-mobile-drawer__actions),
  .fasmm-public-side-drawer :is(.fasmm-public-drawer__profile,.fasmm-public-side-drawer__footer,.fasmm-public-mobile-drawer__actions),
  .fasmm-public-mobile-drawer :is(.fasmm-public-drawer__profile,.fasmm-public-side-drawer__footer,.fasmm-public-mobile-drawer__actions){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  body>.fasmm-public-side-drawer[data-fasmm-portaled="1"] :is(.fasmm-store-login,.fasmm-public-drawer__login,.fasmm-public-drawer__login-bottom,.fasmm-account-button),
  body>.fasmm-public-mobile-drawer[data-fasmm-portaled="1"] :is(.fasmm-store-login,.fasmm-public-drawer__login,.fasmm-public-drawer__login-bottom,.fasmm-account-button),
  .fasmm-public-side-drawer :is(.fasmm-store-login,.fasmm-public-drawer__login,.fasmm-public-drawer__login-bottom,.fasmm-account-button),
  .fasmm-public-mobile-drawer :is(.fasmm-store-login,.fasmm-public-drawer__login,.fasmm-public-drawer__login-bottom,.fasmm-account-button){
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    justify-content:center!important;
    align-items:center!important;
    padding-inline:12px!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .fasmm-public-header__inner,
  .fasmm-public-header__shell{
    border-radius:10px!important;
  }
}

.fasmm-order-guest-purchase-gate{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin:16px 0 0;
  padding:14px 16px;
  border:1px solid color-mix(in srgb,var(--fasmm-primary,#675cff) 24%,#dbe3ef);
  border-radius:14px;
  background:color-mix(in srgb,var(--fasmm-primary,#675cff) 5%,#fff);
  box-sizing:border-box;
}
.fasmm-order-guest-purchase-gate__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--fasmm-primary,#675cff);color:#fff;font-size:20px}
.fasmm-order-guest-purchase-gate h3{margin:0 0 3px;font-size:15px;line-height:1.7}
.fasmm-order-guest-purchase-gate p{margin:0;color:var(--fasmm-text-muted,#65728a);font-size:12px;line-height:1.9}
.fasmm-order-guest-purchase-gate__button{width:auto!important;max-width:100%;box-sizing:border-box;white-space:nowrap}
.fasmm-smm-orders-block--link{display:flex;align-items:center;justify-content:space-between;gap:16px}
.fasmm-smm-orders-block--link .fasmm-smm-section-label{flex:1 1 auto;margin:0}
.fasmm-smm-orders-block--link>.fasmm-sf-btn{flex:0 0 auto;white-space:nowrap;text-decoration:none}

@media (max-width:700px){
  .fasmm-order-guest-purchase-gate{grid-template-columns:auto minmax(0,1fr)}
  .fasmm-order-guest-purchase-gate__button{grid-column:1/-1;width:100%!important;justify-content:center}
  .fasmm-smm-orders-block--link{align-items:stretch;flex-direction:column}
  .fasmm-smm-orders-block--link>.fasmm-sf-btn{display:flex;width:100%;box-sizing:border-box;justify-content:center}
}

/* 80.3.30 — contain every guest/account action inside the mobile drawer. */
@media (max-width:1023.98px){
  body>.fasmm-public-side-drawer,
  body>.fasmm-public-mobile-drawer{
    width:min(88vw,360px)!important;
    max-width:calc(100vw - 20px)!important;
    overflow-x:hidden!important;
  }
  :where(.fasmm-public-side-drawer,.fasmm-public-mobile-drawer) :where(a,button,.fasmm-btn,.fasmm-store-login,.fasmm-store-wallet-link,.fasmm-account-button){
    min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
  }
  :where(.fasmm-public-side-drawer,.fasmm-public-mobile-drawer) :where(.fasmm-public-drawer__profile,.fasmm-public-side-drawer__footer)>*{
    min-width:0!important;max-width:100%!important;
  }
  :where(.fasmm-public-side-drawer,.fasmm-public-mobile-drawer) :where(.fasmm-public-drawer__login,.fasmm-public-drawer__login-bottom,.fasmm-store-login){
    overflow:hidden!important;text-overflow:ellipsis!important;white-space:normal!important;line-height:1.6!important;
  }
}
