/* Единая удобная зона нажатия без изменения фирменной палитры. */
  #allrecords #rec2583151301 .t-menu-base__button .t-btn,
  #allrecords #rec2584088401 .t181__button-wrapper .t-btn,
  #allrecords #rec2526199901 .t1331__row .t-btn,
  #allrecords #rec2530855701 .t-card__btn {
    position: relative;
    box-sizing: border-box;
    min-height: 52px;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
    transition:
      transform 180ms ease,
      filter 180ms ease,
      box-shadow 180ms ease,
      opacity 180ms ease !important;
  }

  /* Текст не перехватывает клик у составных Tilda-кнопок. */
  #allrecords #rec2583151301 .t-menu-base__button .t-btnflex__text,
  #allrecords #rec2584088401 .t181__button-wrapper .t-btnflex__text,
  #allrecords #rec2526199901 .t1331__row .t-btnflex__text,
  #allrecords #rec2530855701 .t-card__btn .t-btnflex__text {
    pointer-events: none;
  }

  /* Карточки услуг: чуть больше полезная зона клика. */
  #allrecords #rec2530855701 .t-card__btn {
    min-height: 54px;
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  /* Hover включается только на устройствах с мышью. */
  @media (hover: hover) and (pointer: fine) {
    #allrecords #rec2583151301 .t-menu-base__button .t-btn:hover,
    #allrecords #rec2584088401 .t181__button-wrapper .t-btn:hover,
    #allrecords #rec2526199901 .t1331__row .t-btn:hover,
    #allrecords #rec2530855701 .t-card__btn:hover {
      transform: translateY(-2px) !important;
      filter: brightness(1.07);
      box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
    }
  }

  /* Понятное физическое нажатие. */
  #allrecords #rec2583151301 .t-menu-base__button .t-btn:active,
  #allrecords #rec2584088401 .t181__button-wrapper .t-btn:active,
  #allrecords #rec2526199901 .t1331__row .t-btn:active,
  #allrecords #rec2530855701 .t-card__btn:active {
    transform: translateY(1px) scale(0.99) !important;
    filter: brightness(0.96);
    box-shadow:
      0 5px 12px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  }

  /* Хорошо заметный фокус для клавиатуры. */
  #allrecords #rec2583151301 .t-menu-base__button .t-btn:focus-visible,
  #allrecords #rec2584088401 .t181__button-wrapper .t-btn:focus-visible,
  #allrecords #rec2526199901 .t1331__row .t-btn:focus-visible,
  #allrecords #rec2530855701 .t-card__btn:focus-visible {
    outline: 3px solid #f2c96f !important;
    outline-offset: 4px;
    box-shadow:
      0 0 0 2px rgba(17, 17, 17, 0.72),
      0 12px 28px rgba(0, 0, 0, 0.24) !important;
  }

  /* На телефоне главные кнопки занимают удобную ширину. */
  @media screen and (max-width: 640px) {
    #allrecords #rec2584088401 .t181__button-wrapper {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      width: 100%;
      max-width: 360px;
    }

    #allrecords #rec2584088401 .t181__button-wrapper .t-btn,
    #allrecords #rec2526199901 .t1331__row .t-btn,
    #allrecords #rec2530855701 .t-card__btn {
      width: 100%;
      min-height: 56px;
      margin: 0 !important;
      padding-right: 22px !important;
      padding-left: 22px !important;
      font-size: 16px !important;
    }
  }

  /* Уважает системную настройку уменьшения движения. */
  @media (prefers-reduced-motion: reduce) {
    #allrecords #rec2583151301 .t-menu-base__button .t-btn,
    #allrecords #rec2584088401 .t181__button-wrapper .t-btn,
    #allrecords #rec2526199901 .t1331__row .t-btn,
    #allrecords #rec2530855701 .t-card__btn {
      transition: none !important;
    }
  }