  /* Общий сброс шрифта и отступов */
  .ws-fixed-desktop,
  .ws-fixed-mobile {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    box-sizing: border-box;
    text-decoration: none !important;
  }

  .ws-fixed-desktop *,
  .ws-fixed-mobile * {
    box-sizing: border-box;
  }

  /* Анимации пульсации и пробегающего блика */
  @keyframes ws-pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 6px 18px rgba(232, 74, 39, 0.45);
    }
    50% {
      transform: scale(1.045);
      box-shadow: 0 8px 26px rgba(255, 87, 51, 0.75);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 6px 18px rgba(232, 74, 39, 0.45);
    }
  }

  @keyframes ws-shine {
    0% {
      left: -80%;
    }
    25% {
      left: 140%;
    }
    100% {
      left: 140%;
    }
  }

  /* =========================================================
     БОЛЬШОЙ БАННЕР (класс hidden-xs)
     ========================================================= */
  .ws-fixed-desktop {
    width: 460px;
    background: linear-gradient(135deg, #1E4638 0%, #2a5e4c 100%);
    border: 2px solid #35735d;
    border-radius: 20px;
    padding: 20px 36px 20px 24px; /* Справа чуть больше места под крестик */
    box-shadow: 0 14px 36px rgba(20, 50, 40, 0.35);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .ws-fixed-desktop:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(20, 50, 40, 0.45);
  }

  .ws-fixed-desktop::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
  }

  .ws-fixed-desktop::after {
    content: '🔥';
    position: absolute;
    right: -8px;
    bottom: -14px;
    font-size: 68px;
    opacity: 0.15;
    pointer-events: none;
  }

  .ws-d-table {
    display: table;
    width: 100%;
    position: relative;
    z-index: 2;
  }

  .ws-d-cell-badge {
    display: table-cell;
    vertical-align: middle;
    width: 112px;
  }

  .ws-d-badge {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff5733 0%, #E84A27 100%);
    color: #ffffff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    padding: 18px 12px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: ws-pulse 2.6s infinite ease-in-out;
  }

  /* Блик на десктопном бейдже */
  .ws-d-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-22deg);
    animation: ws-shine 3.8s infinite ease-in-out;
  }

  .ws-d-cell-text {
    display: table-cell;
    vertical-align: middle;
    padding-left: 18px;
    text-align: left;
  }

  .ws-d-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 6px;
  }

  .ws-d-title {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 5px;
    letter-spacing: 0.3px;
  }

  .ws-d-sub {
    font-size: 13px;
    font-weight: 500;
    color: #d8ebe4;
    line-height: 1.3;
  }

  .ws-d-cta-text {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #ff8c73;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }

  /* Кнопка закрытия для десктопа */
  .ws-close-desktop {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
    user-select: none;
  }

  .ws-close-desktop:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
  }

  /* =========================================================
     МОБИЛЬНЫЙ БАННЕР (класс visible-xs)
     ========================================================= */
  .ws-fixed-mobile {
    width: 100%;
    background: linear-gradient(90deg, #1E4638 0%, #275948 100%);
    color: #ffffff;
    padding: 10px 12px;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
  }

  .ws-fixed-mobile::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 25%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
  }

  .ws-m-table {
    display: table;
    width: 100%;
    position: relative;
    z-index: 2;
  }

  .ws-m-left {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
  }

  .ws-m-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 2px;
  }

  .ws-m-sub {
    font-size: 11px;
    color: #d6e8e1;
    line-height: 1.2;
  }

  .ws-m-right {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    width: 96px;
  }

  .ws-m-pill {
    position: relative;
    overflow: hidden;
    display: inline-block;
    background: #E84A27;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    padding: 8px 10px;
    border-radius: 10px;
    white-space: nowrap;
    animation: ws-pulse 2.6s infinite ease-in-out;
  }

  /* Блик на мобильном бейдже */
  .ws-m-pill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-22deg);
    animation: ws-shine 3.8s infinite ease-in-out;
  }

  /* Кнопка закрытия для мобильного (справа в ряд, чтобы не перекрывать текст) */
  .ws-m-close-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    width: 30px;
    padding-left: 8px;
  }

  .ws-close-mobile {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 16px;
    line-height: 23px;
    text-align: center;
    cursor: pointer;
    user-select: none;
  }
