.simple360.thumbnail:hover {
	border-color: #337ab7;
}

.simple360 {
	margin-left: 20px;
}

.simple360-panel {
	position: relative;
}

#simple360 {
	cursor: ew-resize;
	margin: 0 auto;
	position: relative;
	width: 100%;
	touch-action: pan-y;
}

#simple360 img {
	margin: 0 auto;
	
}

.simple360-panel .simple360-tool {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: flex;
	gap: 6px;
	z-index: 10;
}

.simple360-panel .simple360-tool span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	width: 36px;
	padding: 0;
	opacity: 0.7;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45) !important;
	border: none !important;
	cursor: pointer;
	transition: opacity 0.2s;
}

.simple360-panel .simple360-tool span:hover {
	opacity: 1;
}

/* Play — треугольник */
#simple360-play::after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent #fff;
	margin-left: 2px;
}

/* Stop — квадрат */
#simple360-stop::after {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	background: #fff;
}

.simple360_loader {
	background: url(images/loader.gif) center center no-repeat;
	bottom: 0;
	display: none;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.slick-cloned .simple360 {
	display: none !important;
}

/* Слайды должны накладываться друг на друга, а не укладываться вертикально.
   setPosition в шаблоне форсит width:100% и translate3d(0,0,0) на трек,
   из-за чего float:left раскладывает слайды в столбец.
   Активный слайд остаётся relative (даёт высоту контейнеру),
   неактивные — absolute (наложены, не добавляют высоту). */
/* Высота определяется активным слайдом (relative), а не инлайн-стилем от slick.
   Без этого на мобильном остаётся height:800px при реальной высоте ~400px. */
#one-image .slick-list {
	height: auto !important;
}
#one-image .slick-track {
	position: relative !important;
}
#one-image .slick-slide {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100% !important;
	float: none !important;
}
#one-image .slick-slide.slick-active {
	position: relative !important;
}

/* Неактивные zoom-слайды не должны перехватывать события у 360 */
#one-image .slick-slide:not(.slick-active) {
	pointer-events: none;
}
#one-image .slick-slide.slick-active {
	pointer-events: auto;
}

/* Запрет нативного перетаскивания картинок в слайдере —
   без этого клик+drag за границу блока ломает состояние zoom */
#one-image img {
	-webkit-user-drag: none;
	-webkit-user-select: none;
	user-select: none;
}
#one-image .zoom {
	-webkit-user-select: none;
	user-select: none;
}