/* نسخه موبایل هماهنگ با دسکتاپ */
@media (max-width: 768px) {

  /* هدر */
  .ss-header {
    display: block !important;
    background: linear-gradient(90deg, #6c5ce7, #fd79a8);
    border-bottom: 2px solid #2d3436;
    padding: 8px 0;
  }

  .ss-header__container {
    max-width: 100%;
    padding: 0 12px;
  }

  .ss-header__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  /* ستون راست = شماره تماس */
  .ss-header__col--right { text-align: right; }
  .ss-header__phone {
    transform: scale(0.9);
    padding: 4px 10px;
    background: #ffffff;
    color: #d63031;
    border-radius: 16px;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    white-space: nowrap;
  }
  .ss-header__phone-text { font-size: 12px; }

  /* ستون وسط = اسم سایت */
  .ss-header__brand {
    font-size: 16px;
    padding: 4px 12px;
    border-radius: 14px;
    background: rgba(0,0,0,0.2);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  /* ستون چپ = دکمه‌ها زیر هم */
  .ss-header__col--left {
    text-align: left;
    display: flex;
    flex-direction: column; /* دکمه‌ها زیر هم */
    gap: 6px;               /* فاصله بین دکمه‌ها */
    align-items: flex-start;
  }
  .ss-header__btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 14px;
    background: #2d3436;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background 0.2s ease;
    width: max-content;     /* عرض به اندازه متن */
  }
  .ss-header__btn:hover {
    background: #00cec9;
  }

  /* ناوبری پایین شناور */
  .ss-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background: linear-gradient(90deg, #6c5ce7, #fd79a8);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 2px solid #2d3436;
    z-index: 9999;
  }
  .ss-mobile-nav a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
  }
  .ss-mobile-nav a:hover {
    color: #00cec9;
  }

  /* جلوگیری از اسکرول افقی */
  html, body {
    overflow-x: hidden !important;
    padding-bottom: 56px; /* فضای خالی برای ناوبری شناور */
  }
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('/wp-content/themes/soheilsadeghi-theme/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('/wp-content/themes/soheilsadeghi-theme/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* اعمال فونت با !important روی همه عناصر */
body, html,
h1, h2, h3, h4, h5, h6,
p, a, li, span, div,
header, footer, nav, section,
input, textarea, button {
  font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}
