.social-floating-widget {
    position: fixed;
    bottom: 130px;
    left: 16px;
    z-index: 999;
    direction: rtl;
  }
  .social-floating-widget input {
    display: none;
  }
  .social-main-btn,
  .social-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: none;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    transition: all 0.28s ease;
  }
  .social-main-btn {
    background: linear-gradient(135deg, #ff1744, #d50000);
    cursor: pointer;
    font-size: 24px;
    position: relative;
    z-index: 2;
  }
  .social-main-btn:hover {
    transform: scale(1.08);
  }
  .social-main-btn i {
    transition: transform 0.3s ease;
  }
  .social-floating-widget input:checked + .social-main-btn i {
    transform: rotate(135deg);
  }
  .social-list {
    position: absolute;
    bottom: 62px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
  }
  .social-item {
    opacity: 0;
    transform: translateY(16px) scale(0.75);
    pointer-events: none;
    position: relative;
  }
  .social-floating-widget input:checked ~ .social-list {
    pointer-events: auto;
  }
  .social-floating-widget input:checked ~ .social-list .social-item {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .social-item:nth-child(1) { transition-delay: 0.03s; }
  .social-item:nth-child(2) { transition-delay: 0.06s; }
  .social-item:nth-child(3) { transition-delay: 0.09s; }
  .social-item:nth-child(4) { transition-delay: 0.12s; }
  .social-item:nth-child(5) { transition-delay: 0.15s; }
  .social-item:nth-child(6) { transition-delay: 0.18s; }
  .social-item:hover {
    transform: translateY(0) scale(1.12) !important;
  }
  .social-item i {
    font-size: 23px;
  }
  .social-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
  }
  .social-whatsapp {
    background: #25d366;
  }

  .social-instagram {
    background: linear-gradient(135deg, #feda75, #d62976, #962fbf, #4f5bd5);
  }

  .social-telegram {
    background: #229ed9;
  }

  .social-bale {
    background: #20b486;
  }

  .social-rubika {
    background: #ffffff;
  }

  .social-eitaa {
    background: #f58220;
  }

  .social-tooltip {
    position: absolute;
    left: 58px;
    top: 50%;
    transform: translateY(-50%);
    background: #1f2937;
    color: #fff;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  }

  .social-item:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    left: 64px;
  }

  @media (max-width: 768px) {
    .social-floating-widget {
      bottom: 72px;
      left: 12px;
    }

    .social-main-btn,
    .social-item {
      width: 46px;
      height: 46px;
    }

    .social-tooltip {
      display: none;
    }
  }




.main-btn-text {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    color: #000 !important;
    font-size: 13px;
    white-space: nowrap;
}

/* تنظیمات باکس نوار */
.ticker-box {
    width: 100%;
    overflow: hidden; /* پنهان کردن متن‌های خارج از محدوده */
    padding: 10px 0;
    position: relative;
    direction: ltr; /* جهت حرکت از راست به چپ */
}

/* متن متحرک */
.ticker-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 100s linear infinite; /* سرعت حرکت - عدد 15s رو تغییر بده اگه تند یا کند بود */
    padding-left: 100%; /* شروع از خارج کادر */
}

.ticker-item {
    font-size: 16px;
    font-weight: 500;
    margin: 0 20px;
    display: inline-block;
}

/* انیمیشن حرکت */
@keyframes marquee {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}
