.tns-outer {
	padding: 0 !important
}

.tns-outer [hidden] {
	display: none !important
}

.tns-outer [aria-controls],
.tns-outer [data-action] {
	cursor: pointer
}

.tns-slider {
	transition: all 0.3s
}

.tns-slider > .tns-item {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box
}

.tns-horizontal.tns-subpixel {
	white-space: nowrap
}

.tns-horizontal.tns-subpixel > .tns-item {
	display: inline-block;
	vertical-align: top;
	white-space: normal
}

.tns-horizontal.tns-no-subpixel:after {
	content: '';
	display: table;
	clear: both
}

.tns-horizontal.tns-no-subpixel > .tns-item {
	float: left;
	margin-right: -100%
}

.tns-no-calc {
	position: relative;
	left: 0
}

.tns-gallery {
	position: relative;
	left: 0;
	min-height: 1px
}

.tns-gallery > .tns-item {
	position: absolute;
	left: -100%;
	-webkit-transition: transform 0s, opacity 0s;
	-moz-transition: transform 0s, opacity 0s;
	transition: transform 0s, opacity 0s
}

.tns-gallery > .tns-slide-active {
	position: relative;
	left: unset !important
}

.tns-gallery > .tns-moving {
	transition: all 0.25s
}

.tns-lazy-img {
	-webkit-transition: opacity 0.6s;
	-moz-transition: opacity 0.6s;
	transition: opacity 0.6s;
	opacity: 0.6
}

.tns-lazy-img.loaded {
	opacity: 1
}

.tns-ah {
	-webkit-transition: height 0s;
	-moz-transition: height 0s;
	transition: height 0s
}

.tns-ovh {
	overflow: hidden
}

.tns-visually-hidden {
	position: absolute;
	left: -10000em
}

.tns-transparent {
	opacity: 0;
	visibility: hidden
}

.tns-fadeIn {
	opacity: 1;
	filter: alpha(opacity=100);
	z-index: 0
}

.tns-normal,
.tns-fadeOut {
	opacity: 0;
	filter: alpha(opacity=0);
	z-index: -1
}

.tns-t-subp2 {
	margin: 0 auto;
	width: 310px;
	position: relative;
	height: 10px;
	overflow: hidden
}

.tns-t-ct {
	width: 2333.3333333%;
	width: -webkit-calc(100% * 70 / 3);
	width: -moz-calc(100% * 70 / 3);
	width: calc(100% * 70 / 3);
	position: absolute;
	right: 0
}

.tns-t-ct:after {
	content: '';
	display: table;
	clear: both
}

.tns-t-ct>div {
	width: 1.4285714%;
	width: -webkit-calc(100% / 70);
	width: -moz-calc(100% / 70);
	width: calc(100% / 70);
	height: 10px;
	float: left
}

.tns-controls button {
	position: absolute;
	display: flex;
	flex-shrink: 0;
	padding: 0;
	font-size: 0;
	line-height: 0;
	user-select: none;
	outline: none;
	border: none;
	appearance: none;
	cursor: pointer;
	/* website */
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	top: 55%;
	border-radius: 50%;
	transition: .2s linear;
	color: #adb5bd;
	z-index: 1;
	background: none;
	background-image: url("https://personalization-web-stable.mindbox.ru/user-media/28173/bb540bb0f5294863f16506585bf04b1765b37bcf52db6f49b929443c48e0301c.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.tns-controls button:hover {
	background-image: url("https://personalization-web-stable.mindbox.ru/user-media/28173/1a886d1208aa5cacf1808228ae5e0195976d92f641b19f22820ad72a888334e1.png");
}

.tns-controls button[data-controls="prev"] {
	left: -40px;
	transform: translate(0, -100%);
}

.tns-controls button[data-controls="next"] {
	right: -40px;
	transform: translate(0, -100%) rotate(180deg);
}

.popmechanic-items-wrapper {
	position: relative;
}

.popmechanic-container {
	background-color: #ffffff;
}

.popmechanic-items {
	display: flex;
}

/* Карточка */

.mindbox-item {
  margin: 0 0.5em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1em;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px #ededed;
  transition: box-shadow 0.2s;
  height: 100%;
}

.mindbox-item:hover {
  box-shadow: inset 0 0 0 2px #eb212e;
}

.mindbox-item:hover a {
  color: #eb212e;
}

.mindbox-item a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.mindbox-item .item-img-discounts {
	display: block;
	position: relative;
}

.mindbox-item .item-img {
  display: block;
	padding-top: 0.75em;
	margin-bottom: 1.25em;
}

.mindbox-item .item-img img {
  object-fit: contain;
  aspect-ratio: 1 / 1;
  height: max(20vh, 130px);
  width: 100%;
}

.mindbox-item .item-discounts {
	position: absolute;
	bottom: 0;
	left: 0;

	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}

.mindbox-item .item-discount-marker {
  background-color: #eb212e;
  padding: 4px 5px;
  font-size: 12px;
	font-weight: 500;
  line-height: 1;
  color: #fff;
  word-break: break-word;
	letter-spacing: 0.3px;
}

.sticker-personal-promo-rec {
  background-color: #eb212e;
	border-radius: 10px;
  padding: 4px 5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
  
  /* Текст бейджа */
.sticker-personal-promo-rec .product-card__marker-value {
  color: #fff;
  font-size: 12px;
	font-weight: 500;
  line-height: 1;
  word-break: break-word;
  flex: 1;
  letter-spacing: 0.3px;
}
  
/* Иконка копирования */
.sticker-personal-promo-rec .copy-icon {
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  stroke: #fff;
	height: 0.8em;
	width: 0.8em;
}
  
.sticker-personal-promo-rec .copy-icon:hover {
  opacity: 0.8;
  transform: scale(1.05);
}
  
.sticker-personal-promo-rec .copy-icon:active {
  transform: scale(0.95);
}
  
/* Подсказка */
.sticker-personal-promo-rec .sticker-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  margin-bottom: 8px;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: tooltipFadeIn 0.2s ease-out;
}
  
/* Стрелка подсказки */
.sticker-personal-promo-rec .sticker-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}
  
/* Анимация появления подсказки */
@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
  
/* Стили для мобильных устройств */
@media (max-width: 768px) {
	.mindbox-item .item-discount-marker {
    font-size: 11px;
	}
    
  .sticker-personal-promo-rec .product-card__marker-value {
    font-size: 11px;
  }
    
  .sticker-personal-promo-rec .sticker-tooltip {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 6px;
  }
}

.mindbox-item .item-title {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  line-height: 1.125em;
  height: 2.25em;
  min-height: 2.25em;
  max-height: 2.25em;
  hyphens: auto;
}

.mindbox-item .item-price {
  flex: 1 1 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap-reverse;
  gap: 0.5em;
  row-gap: 0.2em;
}

.mindbox-item .item-footer {
	display: flex;
	flex-direction: column;
}

.mindbox-item .item-reviews {
	display: flex;
	gap: 0.5em;
	align-items: center;
}

.mindbox-item .item-reviews-rating {
	display: flex;
	gap: 0.25em;
	align-items: center;
}

.mindbox-item .item-reviews-rating .icon {
	color: #f8a724;
}

.mindbox-item .item-reviews-count {
	display: flex;
	gap: 0.25em;
	align-items: center;
}

.mindbox-item .item-price-current {
  font-size: 1.32em;
  line-height: 1em;
  font-weight: 450;
  white-space: nowrap;
}

.mindbox-item .item-price-old {
  color: #87939f;
  line-height: 1em;
  text-decoration: line-through;
  white-space: nowrap;
}

.mindbox-item .item-buttons {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}

.mindbox-item .item-buttons-additional {
  flex: 0 1 0;
  display: flex;
  gap: 0.5em;
  justify-content: space-between;
}

.mindbox-item .item-button {
  padding: 0;
  line-height: 1em;
  cursor: pointer;
  background-color: transparent;
  border-radius: 4px;
  transition: color 0.1s;
  white-space: nowrap;
  border: none;
}

.mindbox-item .item-button-buy {
  border: 2px solid #eb212e;
  font-weight: 600;
  padding: 0.6em 0.1em;
  background-color: #eb212e;
  color: white;
  font-size: 0.85em;
  flex: 1 1 0;
}

.mindbox-item .item-button-buy.in_cart {
  background-color: white;
  color: #eb212e;
}

@media (max-width: 767px) {
  .mindbox-item .item-button-buy-text {
    display: none;
  }
}

.mindbox-item .item-button-buy-icon svg {
  color: inherit
}

@media (min-width: 768px) {
  .mindbox-item .item-button-buy-icon {
    display: none;
  }
}

.mindbox-item .item-button-icon {
  font-size: 1.1em;
}

.mindbox-item .icon-favorites-f {
	color: #eb212e;
}

.mindbox-item .icon-compare.active {
	color: #eb212e;
}
