/* Cookie + sticky calc CTA — SEO этап 4; не перекрывают first screen */
.ux-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #121212;
  color: #fff;
  padding: 10px 0;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.ux-cookie.is-visible {
  transform: translateY(0);
}
.ux-cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ux-cookie__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  flex: 1 1 220px;
}
.ux-cookie__text a {
  color: #51a3f3;
  text-decoration: underline;
}
.ux-cookie__btn {
  border: 0;
  border-radius: 8px;
  background: #51a3f3;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  cursor: pointer;
  min-height: 40px;
}

.ux-calc-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  transform: translateY(100%);
  transition: transform 0.25s ease;
  max-height: 56px;
}
.ux-calc-sticky.is-visible {
  transform: translateY(0);
}
.ux-calc-sticky__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
}
.ux-calc-sticky__link {
  flex: 1 1 auto;
  color: #121212;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ux-calc-sticky__link:hover {
  color: #51a3f3;
}
.ux-calc-sticky__close {
  border: 0;
  background: transparent;
  color: #666;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

body.ux-cookie-open .ux-calc-sticky {
  bottom: 52px;
}

@media (max-width: 480px) {
  .ux-cookie__text {
    font-size: 12px;
  }
  .ux-calc-sticky__link {
    font-size: 13px;
  }
}
