/* Счётчики Aspro в иконках макета — без своих рамок, как .tool / .tool b */
.user-tools .basket-link.tool,
.user-tools a.tool.basket-link {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.user-tools .basket-link .js-basket-block {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.user-tools .basket-link svg {
  width: 22px !important;
  height: 22px !important;
  stroke: var(--brown) !important;
  fill: none !important;
  stroke-width: 1.8 !important;
  display: block;
}

.user-tools .basket-link:hover {
  background: #eef9fc !important;
}

.user-tools .basket-link:hover svg {
  stroke: var(--blue) !important;
}

.user-tools .basket-link .title,
.user-tools .basket-link .prices,
.user-tools .basket-link .wrap,
.user-tools .basket_hover_block {
  display: none !important;
}

/* бейдж как .tool b в макете; скрыт при 0 (нет .basket-count) */
.user-tools .basket-link .count,
.user-tools .basket-link .js-count,
.user-tools .tool b.count {
  position: absolute !important;
  top: 4px !important;
  right: 2px !important;
  min-width: 16px !important;
  height: 16px !important;
  padding: 0 4px !important;
  border-radius: 8px !important;
  background: var(--blue) !important;
  color: #fff !important;
  font: 700 10px/16px Montserrat, sans-serif !important;
  text-align: center !important;
  display: none !important;
  box-sizing: border-box;
}
.user-tools .basket-link.basket-count .count,
.user-tools .basket-link.basket-count .js-count,
.user-tools .tool.basket-count b.count {
  display: inline-block !important;
}

@media (max-width: 560px) {
  .user-tools .basket-link .count,
  .user-tools .basket-link .js-count,
  .user-tools .tool b.count {
    top: 0 !important;
    right: 0 !important;
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 3px !important;
    font: 700 9px/15px Montserrat, sans-serif !important;
  }
}
