/* === Починка: корзина в шапке не кликается из-за перекрытия === */

/* 1) Гарантируем видимость и кликабельность самой корзины */
.t-menuwidgeticons__link_cart,
.t-menuwidgeticons__cart,
.t706__carticon {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* 2) Поднимаем контейнер иконок и саму корзину над любыми фиксированными слоями хедера */
.t-menuwidgeticons__wrap,
.tmenu-mobile__rightwrapper,
.tmenu__rightwrapper,
.tmenu-mobile__container,
.tmenu__container,
.t706__carticon-wrapper,
.t-menuwidgeticons__link_cart {
  position: relative !important;
  z-index: 2147483000 !important; /* очень высоко, но ниже системных окон */
}

/* 3) У фонов/бекграундов хедера запрещаем перехват кликов.
      Это безопасно: фоны не должны получать клики, кликаются их содержимое */
.tmenu-mobile__bg,
.tmenu__bg,
.tmenu__shadow,
.t228__positionfixed .t228__bg,
.t280__container__bg,
.t456__cover {
  pointer-events: none !important;
}

/* 4) Но внутри самих кнопок/ссылок клики разрешаем на всякий случай */
.tmenu__burger,
.tmenu-mobile__burger,
.t-menuwidgeticons__link,
.tmenu a {
  pointer-events: auto !important;
}

/* 5) Иконка корзины — без заливки, размер как у поиска (подстройка по умолчанию) */
.t-menuwidgeticons__link_cart .t-menuwidgeticons__img_carticon {
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: #000 !important;
}

/* 6) Счётчик — компактный, не перехватывает клики */
.t-menuwidgeticons__link_cart .t-menuwidgeticons__icon-counter {
  position: absolute !important;
  top: -6px !important;
  right: -8px !important;
  min-width: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  padding: 0 4px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: #000 !important;
  border-radius: 8px !important;
  text-align: center !important;
  pointer-events: none !important;
}

/* 7) На всякий случай не обрезаем содержимое в правой части шапки */
.tmenu-mobile__rightwrapper,
.tmenu__rightwrapper {
  overflow: visible !important;
}
