a.fi_img-link.fi-no-image {
    display: inline-block;
    width: 200px; /* ширина картинки */
    height: 200px; /* высота картинки */
    background: url("<?php echo osc_base_url(); ?>/oc-content/themes/epsilon/images/no-image.png") center center no-repeat;
    background-size: contain;
}

a.fi_img-link.fi-no-image img {
    visibility: hidden; /* скрываем пустое img, если оно есть */
}

      #floating-callback-btn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 80px;
        height: 80px;
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 34px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
        z-index: 999999;
        transition: all 0.4s ease;
        overflow: hidden;
      }
    
      @media (max-width: 768px) {
        #floating-callback-btn {
          width: 65px;
          height: 65px;
          font-size: 28px;
          bottom: 20px;
          right: 20px;
        }
      }
    
      #floating-callback-btn:hover {
        transform: scale(1.15);
        box-shadow: 0 15px 40px rgba(0,0,0,0.35);
      }
    
      #callback-icon {
        position: relative;
        z-index: 2;
        transition: opacity 0.6s ease, transform 0.6s ease;
      }
    
      .wave {
        position: absolute;
        width: 100%;
        height: 100%;
        border: 3px solid;
        border-radius: 50%;
        opacity: 0;
        animation: wave 2.8s infinite ease-out;
        pointer-events: none;
      }
    
      .wave:nth-child(2) { animation-delay: 0.6s; }
      .wave:nth-child(3) { animation-delay: 1.2s; }
    
      @keyframes wave {
        0%   { transform: scale(0.4); opacity: 0.7; }
        100% { transform: scale(2.5); opacity: 0; }
      }
    
      /* Реалистичный отскок шарика */
      @keyframes bounce-ball {
        0%, 100%   { transform: translateY(0); }
        10%        { transform: translateY(-40px); }
        30%        { transform: translateY(0); }
        40%        { transform: translateY(-20px); }
        55%        { transform: translateY(0); }
        65%        { transform: translateY(-10px); }
        75%        { transform: translateY(0); }
        82%        { transform: translateY(-5px); }
        90%        { transform: translateY(0); }
      }
    
      #floating-callback-btn {
        animation: bounce-ball 3.5s infinite, colorCycle 6s infinite;
      }
    
      /* Смена цвета */
      @keyframes colorCycle {
        0%   { background: #28a745; } /* зелёный */
        33%  { background: #dc3545; } /* красный */
        66%  { background: #007bff; } /* синий */
        100% { background: #28a745; }
      }
      @keyframes phone-ring {
  0%   { transform: rotate(0deg); }
  5%   { transform: rotate(8deg); }
  10%  { transform: rotate(-8deg); }
  15%  { transform: rotate(8deg); }
  20%  { transform: rotate(-8deg); }
  25%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

#callback-icon {
  animation: phone-ring 2.8s infinite;
  transform-origin: 50% 50%;
}