/* Default */
h1 {
	margin: 0;
}
.breadcrumb.mobile {
	display: none;
}
.visual-search-module .panel-body {
	padding: 10px 0px 15px 0px;
}
.visual-search-module .panel-heading {
	display: none;
}
.visual-search-drop {
	border:2px dashed #ccc;
	border-radius:6px;
	padding:20px;
	text-align:center;
	cursor:pointer;
	width: 100%;
	max-width: 100%;
}
.visual-search-drop .btn {
	margin: 5px;
}
.visual-search-drop .visual-search-input {
	display:none;
}
.visual-search-drop .visual-search-preview {
	display: none;
	margin-bottom:10px;
}
.visual-search-drop .text-muted {
	margin-top:8px;
}
.visual-search-history {
	display:none;
	margin-top:16px;
}
.visual-search-history .text-muted {
	margin-bottom:6px;
}
.visual-search-history-list {
	display:flex;
	gap:8px;
	flex-wrap:wrap;
}
.visual-search-loading.text-center {
	display:none;
	padding:20px;
}
.visual-search-results {
	margin-top:5px;
}
.visual-search-results .row {
	scrollbar-color: #ccc #f4f4f4;
	scrollbar-width: thin !important;
}

@media (max-width: 575px) {
	#content {
		padding: 0 5px;
	}
	.panel-default {
		border: none;
	}
	.panel-body {
		padding: 10px 0;
	}
	.visual-search-paste {
		display: none;
	}
	.visual-search-results {
		margin-top: 20px;
	}
}

.visual-search-preview-edit {
	display: none;
	position: relative;
	margin: 10px auto;
	max-width: 320px;
	user-select: none;
	-webkit-user-select: none;
	/* Обрезаем box-shadow рамки по границам картинки:
	затемнение не «утечёт» на весь сайт. */
	overflow: hidden;
}
.visual-search-preview-edit .vse-img {
	display: block;
	max-width: 100%;
	height: auto;
	pointer-events: none;
	/* Плавное масштабирование колёсиком. transform-origin задаём
       динамически из JS — чтобы зум шёл «от курсора». */
    transition: transform 0.08s linear;
    will-change: transform;
}
.visual-search-preview-edit .vse-overlay {
	position: absolute;
	inset: 0;
	cursor: crosshair;
	/* Чтобы браузер на тач-устройствах не «уводил» жест в скролл страницы
	и не пытался делать pinch-zoom, пока пользователь тянет рамку. */
	touch-action: none;
}
.visual-search-preview-edit .vse-box {
	position: absolute;
	border: 1px solid rgba(0,0,0,0.4);
	box-shadow: 0 0 0 9999px rgba(0,0,0,0.25);
	box-sizing: border-box;
	cursor: move;
}
.visual-search-preview-edit .vse-handle {
	position: absolute;
	width: 20px;
	height: 20px;
	border: 4px solid #ff7e00;
	background: transparent;
	box-sizing: border-box;
}
.visual-search-preview-edit .vse-handle.nw { top: 0px;  left: 0px;  cursor:nwse-resize; border-right:none; border-bottom:none; }
.visual-search-preview-edit .vse-handle.ne { top: 0px;  right: 0px; cursor:nesw-resize; border-left:none;  border-bottom:none; }
.visual-search-preview-edit .vse-handle.sw { bottom: 0px; left: 0px; cursor:nesw-resize; border-right:none; border-top:none; }
.visual-search-preview-edit .vse-handle.se { bottom: 0px; right: 0px;cursor:nwse-resize; border-left:none;  border-top:none; }

@media (min-width: 576px) {
	.visual-search-results .row {
		height: 100vh;
		overflow: auto;
	}
}

/* Unishop2 */


/* Mango */