/* ═══ ps-m1 — هیرو موبایل + نوار پایین ═══ */

.ps-mhero { display: none; }

@media (max-width: 767px) {

  /* ── هیرو ── */
  .ps-hero-desktop { display: none !important; }

  .ps-mhero {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 24px 16px;
    border-radius: 0 0 24px 24px;
    color: #fff;
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(11,107,58,.50), transparent 60%),
      radial-gradient(80% 70% at 0% 100%, rgba(212,175,55,.20), transparent 60%),
      #0a0a0a;
  }
  .ps-mhero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .ps-mhero__text { flex: 1; min-width: 0; }
  .ps-mhero__h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 800;
    color: #fff;
  }
  .ps-mhero__gold {
    background: linear-gradient(135deg, #f0d56a, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .ps-mhero__sub {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255,255,255,.65);
  }
  .ps-mhero__art {
    flex: none;
    width: 96px;
    height: 96px;
    animation: psMhFloat 5s ease-in-out infinite;
  }

  .ps-mhero__chips {
    display: flex;
    gap: 8px;
    margin: 14px -16px 0;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ps-mhero__chips::-webkit-scrollbar { display: none; }
  .ps-mhero__chip {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    font-size: 12px;
    color: rgba(255,255,255,.92);
    white-space: nowrap;
  }
  .ps-mhero__chip svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #d4af37;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .ps-mhero__btns { display: flex; gap: 10px; margin-top: 16px; }
  .ps-mhero__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .ps-mhero__btn:active { transform: scale(.97); }
  .ps-mhero__btn--gold  { flex: 1.5; background: linear-gradient(135deg, #e6c75a, #d4af37); color: #0a0a0a; }
  .ps-mhero__btn--ghost { flex: 1; border: 1px solid rgba(255,255,255,.28); color: #fff; }

  @keyframes psMhFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
  }

  /* ── نوار پایین ── */
  body.ps-body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

  nav.ps-mobile-nav {
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 0 8px env(safe-area-inset-bottom, 0px);
    background: #fff;
    border-top: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(10,10,10,.08);
    align-items: stretch;
    justify-content: space-around;
  }
  nav.ps-mobile-nav .ps-mobile-nav__item {
    flex: 1;
    min-width: 0;
    padding: 8px 0 6px;
    gap: 2px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s ease, transform .15s ease;
  }
  nav.ps-mobile-nav .ps-mobile-nav__item:active { transform: scale(.94); }

  nav.ps-mobile-nav .ps-mobile-nav__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 32px;
    border-radius: 16px;
    transition: background-color .2s ease;
  }
  nav.ps-mobile-nav .ps-mobile-nav__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  nav.ps-mobile-nav .ps-mobile-nav__label { line-height: 1.2; }

  nav.ps-mobile-nav .ps-mobile-nav__item.is-active { color: #0b6b3a; font-weight: 700; }
  nav.ps-mobile-nav .ps-mobile-nav__item.is-active .ps-mobile-nav__icon { background: #e8f3ed; }
  nav.ps-mobile-nav .ps-mobile-nav__item.is-active svg { stroke: currentColor; }

  nav.ps-mobile-nav .ps-mobile-nav__badge {
    position: absolute;
    top: -2px;
    right: 4px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 0 5px;
    text-align: center;
    border-radius: 999px;
    background: #0b6b3a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 0 0 2px #fff;
  }
}

@media (hover: none) {
  nav.ps-mobile-nav .ps-mobile-nav__item:not(.is-active):hover { color: #6b7280; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-mhero__art { animation: none; }
}
