/* Виджет */


.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
}

@media (max-width: 768px) {
	.tns-controls {
		display: none;
  }
}

.popmechanic-header-container {
  display: flex;
  justify-content: center;
}

.popmechanic-widget-reco .popmechanic-header {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 0.8;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 10px solid #F38230;
  padding-bottom: 10px;
}

.tns-controls button {
	position: absolute;
	display: flex;
	flex-shrink: 0;
	font-size: 0;
	line-height: 0;
	user-select: none;
	outline: none;
	appearance: none;
	cursor: pointer;
	/* website */
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0.5em;
	border-radius: 15px;
	top: 55%;
	transition: .1s linear;

	border: 1px solid #f38230;

	z-index: 1;
	background: white;
	background-image: url("https://static.insales-cdn.com/files/1/6297/120273049/original/mindbox-chevron-right-1.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.tns-controls button:hover {
	background-image: url("https://static.insales-cdn.com/files/1/2761/120523465/original/mindbox-chevron-right-white.png");
	background-color: #f38230;
}

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

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

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

.popmechanic-container {
	max-width: 1408px;
}

.popmechanic-items {
	display: flex;
}

.popmechanic-js-embedded-position-wrapper {
	display: block !important;
}

.popmechanic-subtitle {
	color: #878787;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  padding: 13px;
  background-color: #E3E3E8;
  border-radius: 4px;
  max-width: 420px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 15px;
}

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

.mindbox-item {
	font-size: 15px;
	background-color: white;
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1em;
  height: 100%;
}

@media (max-width: 768px) {
	.mindbox-item {
		font-size: 14px;
	}
}

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

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

.mindbox-item .additional-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 0.5em;
}

.mindbox-item .additional-button {
	height: 1.5em;
	width: 1.5em;
	padding: 0;
	border: 0;
	background-color: transparent;
	stroke: #51555c;
	fill: #ffffff;
	cursor: pointer;
}

.mindbox-item .additional-button.active, 
.mindbox-item .additional-button:hover {
	stroke: #f38230;
}

.mindbox-item .additional-button.active.button-favorite {
	fill: #f38230;
}

.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(15vh, 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: #f38230;
  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: #f38230;
  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: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

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

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

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

@media (max-width: 768px) {
	.mindbox-item .item-price-current {
		font-size: 1.4em;
	}
}

.mindbox-item .item-price-old {
  color: #9d9d9d;
	font-weight: 500;
	font-size: 1.1em;
  line-height: 1em;
  text-decoration: line-through;
  white-space: nowrap;
}

.mindbox-item .reviews-block {
	display: flex;
	flex-grow: 1;
	gap: 0.5em;
	align-items: flex-start;
	font-size: 0.9em;
	line-height: 1em;
}

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

.mindbox-item .rating .icon {
	color: #f8a724;
	font-size: 1.2em;
}

.mindbox-item .reviews {
	display: flex;
	align-items: center;
	gap: 0.2em;
	color: #6D6D6D;
}

.mindbox-item .reviews svg {
	height: 1.2em;
	width: 1.2em;
	stroke: none;
	fill: #6D6D6D;
}

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

@media (max-width: 768px) {
	.mindbox-item .yandex-badge-m {
		display: none;
	}
}

@media (min-width: 769px) {
	.mindbox-item .yandex-badge-s {
		display: none;
	}
}

.mindbox-item .item-buttons .item-button {
	width: 100%;
	font-weight: 700;
	text-transform: uppercase;
  padding: 0.6em 0.25em;
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
  line-height: 1em;
  transition: color 0.1s;
  white-space: nowrap;
	min-height: 40px;
	border: 3px solid white;
	font-size: 0.93em;
}

.mindbox-item .item-buttons .item-button.disabled {
  cursor: default;
	color: #ffffff;
	background-color: #9d9d9d;
	border-color: #9d9d9d;
}

.mindbox-item .item-buttons .item-button.disabled .loader {
   width: 17.3px;
   height: 15.36px;
   background: 
	      linear-gradient(#0000 calc(1*100%/6),#ffffff 0 calc(3*100%/6),#0000 0) left bottom,
        linear-gradient(#0000 calc(2*100%/6),#ffffff 0 calc(4*100%/6),#0000 0) center bottom,
        linear-gradient(#0000 calc(3*100%/6),#ffffff 0 calc(5*100%/6),#0000 0) right bottom;
   background-size: 4.3px 600%;
   background-repeat: no-repeat;
   animation: bars-j7enxv 1s infinite linear;
}

@keyframes bars-j7enxv { 100% { background-position: left top,center top,right top; }}

.mindbox-item .item-buttons .item-button.in-cart {
  cursor: pointer;
	text-decoration: none;

	color: #f38230;
	background-color: #ffffff;
	border-color: #f38230;
}

.mindbox-item .item-buttons .item-button.buy {
  cursor: pointer;
	text-decoration: none;
	
	color: #ffffff;
	background-color: #f38230;
	border-color: #f38230;
}

.mindbox-item .item-buttons .item-button.buy:hover {
	background-color: rgb(196, 102, 35);
	border-color: rgb(196, 102, 35);
}

.mindbox-item .item-buttons .item-button.buy:active {
	color: #f38230;
	background-color: #ffffff;
	border-color: #f38230;
}
