  /* Кнопка "Наверх" */
  .scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 120px; /* ВАЖНО: выше кнопки Telegram */
    width: 48px;
    height: 48px;
    background-color: #A41B7C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
  }

  .scroll-to-top svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
  }

  .scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .scroll-to-top:hover {
    opacity: 0.85;
  }



  
  .cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 520px;
    width: calc(100% - 32px);
    background: #ffffff;
    color: #000000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 16px 18px;
    z-index: 9999;
    display: none;

    /* ШРИФТ */
    font-family: Georgia, "Times New Roman", serif;
  }

  .cookie-banner.show {
    display: block;
  }

  .cookie-text {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 12px;
    font-family: inherit;
  }

  .cookie-text a {
    color: #000000;
    text-decoration: underline;
  }

  .cookie-actions {
    display: flex;
    justify-content: flex-end;
  }

  .cookie-btn {
    background: #A41B7C;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;

    /* ШРИФТ КНОПКИ */
    font-family: Georgia, "Times New Roman", serif;
  }

  .cookie-btn:hover {
    opacity: 0.9;
  }
  
  /* по умолчанию — справа (десктоп) */
  .cookie-actions {
    display: flex;
    justify-content: flex-end;
  }

  /* мобильная версия */
  @media (max-width: 640px) {
    .cookie-actions {
      justify-content: center;
    }

    .cookie-btn {
      min-width: 160px; /* чтобы кнопка выглядела аккуратно */
      text-align: center;
    }
  }
