
/* ========== ПОЛОСА ПРОКРУТКИ ========== */

::-webkit-scrollbar {

   width: 10px;

}

::-webkit-scrollbar-track {

   background: #F8F9FA;

   border-radius: 5px;

}

::-webkit-scrollbar-thumb {

   background: #2FACB2;

   border-radius: 5px;

}

::-webkit-scrollbar-thumb:hover {

   background: #2E3057;

}

html {

   scrollbar-width: thin;

   scrollbar-color: #2FACB2 #F8F9FA;

}

/* ========== ВЫДЕЛЕНИЕ ТЕКСТА ========== */

::selection {

   background: #2FACB2;

   color: white;

}

::-moz-selection {

   background: #2FACB2;

   color: white;

}

/* ========== ПЛАВНАЯ ПРОКРУТКА ========== */

html {

   scroll-behavior: smooth;

}

/* ========== FOCUS-ЭФФЕКТЫ ========== */

input:focus, textarea:focus {

   outline: none;

   border-color: #2FACB2;

   box-shadow: 0 0 0 3px rgba(47, 172, 178, 0.2);

}
/* ========== КНОПКИ В КОНТЕНТЕ ========== */

#allrecords .t-btn,
#allrecords button {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

#allrecords .t-btn:hover,
#allrecords button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(47, 172, 178, 0.4);
}


/* ========== ТЕКСТОВЫЕ ССЫЛКИ ========== */

/* Подчёркивание применяется только к ссылкам внутри текста,
   но не к меню, карточкам и кнопкам */

.t-text a:not(.t-btn),
.t-descr a:not(.t-btn) {
  position: relative;
  text-decoration: none;
}

.t-text a:not(.t-btn)::after,
.t-descr a:not(.t-btn)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;

  height: 2px;
  background: #2facb2;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.t-text a:not(.t-btn):hover::after,
.t-descr a:not(.t-btn):hover::after {
  transform: scaleX(1);
}

/* ========== КАРТОЧКИ ========== */

.product-card, .t-card {

   transition: all 0.3s ease;

   box-shadow: 0 2px 10px rgba(0,0,0,0.08);

}

.product-card:hover, .t-card:hover {

   transform: translateY(-5px);

   box-shadow: 0 8px 25px rgba(47, 172, 178, 0.2);

}

/* ========== КУРСОР ========== */
body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%232FACB2' d='M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z'/%3E%3C/svg%3E") 2 2, auto;
}

a, .t-btn, button {
    cursor: pointer;
}