/* ==========================================================================
   Jamp sidebar widgets (всё в сайдбаре, кроме боковых категорий)
   ========================================================================== */

html.jamp-inner aside.col-md-4,
html.jamp-inner aside.col-lg-3 {
	padding-left: 20px;
}

html.jamp-inner .jamp-side-widget {
	margin: 0 0 36px 0;
	padding: 0 0 28px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font-family: 'Montserrat', sans-serif;
	-webkit-font-smoothing: antialiased;
}

html.jamp-inner .jamp-side-widget:last-child {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

html.jamp-inner .jamp-side-head,
html.jamp-inner .jamp-side-widget .widget_header {
	margin: 0 0 18px 0;
	padding: 0 0 12px 0;
	border-bottom: 1px solid #111;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #111;
	line-height: 1.3;
}

html.jamp-inner .jamp-side-body,
html.jamp-inner .jamp-side-widget .widget_content {
	margin: 0;
	padding: 0;
}

/* ---- product rows (top / newest / featured / recent) ---- */
html.jamp-inner .jamp-side-prods {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

html.jamp-inner .jamp-side-prod {
	display: flex;
	align-items: stretch;
	gap: 14px;
	text-decoration: none !important;
	color: #111 !important;
	transition: opacity 0.25s ease;
}

html.jamp-inner .jamp-side-prod:hover {
	opacity: 0.78;
}

html.jamp-inner .jamp-side-prod-media {
	flex: 0 0 72px;
	width: 72px;
	min-width: 72px;
	height: 96px;
	overflow: hidden;
	background: #f4f4f4;
	line-height: 0;
}

html.jamp-inner .jamp-side-prod-media img {
	display: block !important;
	width: 72px !important;
	height: 96px !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center top;
	border: 0;
	visibility: visible !important;
	opacity: 1 !important;
}

html.jamp-inner .jamp-side-prod-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 2px 0;
}

html.jamp-inner .jamp-side-prod-title {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.02em;
	color: #222;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

html.jamp-inner .jamp-side-prod-price,
html.jamp-inner .jamp-side-prod-price .price-line {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #111;
}

html.jamp-inner .jamp-side-prod-price .currency {
	font-weight: 400;
	opacity: 0.75;
	padding-left: 2px !important;
}

html.jamp-inner .jamp-side-prod-price .striked {
	text-decoration: line-through;
	opacity: 0.45;
	margin-right: 6px;
}

/* ---- more / all links ---- */
html.jamp-inner .jamp-side-more {
	display: inline-block;
	margin-top: 16px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none !important;
	color: #111 !important;
	border-bottom: 1px solid #111;
	padding-bottom: 2px;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

html.jamp-inner .jamp-side-more:hover {
	opacity: 0.55;
	border-color: transparent;
}

/* ---- text lists (news, manufacturers, adv links, ranges) ---- */
html.jamp-inner .jamp-side-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

html.jamp-inner .jamp-side-list > li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

html.jamp-inner .jamp-side-list > li:last-child {
	border-bottom: 0;
}

html.jamp-inner .jamp-side-list-link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 0;
	text-decoration: none !important;
	color: #222 !important;
	transition: color 0.2s ease;
}

html.jamp-inner .jamp-side-list-link:hover {
	color: #000 !important;
}

html.jamp-inner .jamp-side-list-meta {
	display: block;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #999;
	margin-bottom: 4px;
}

html.jamp-inner a.jamp-side-list-link {
	flex-direction: column;
	align-items: flex-start;
}

html.jamp-inner .jamp-side-list--plain a.jamp-side-list-link {
	flex-direction: row;
	align-items: center;
}

html.jamp-inner .jamp-side-list-title {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.01em;
}

html.jamp-inner .jamp-side-range {
	flex-direction: row !important;
	align-items: center !important;
}

html.jamp-inner .jamp-side-count {
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 500;
	color: #999;
	letter-spacing: 0.06em;
}

html.jamp-inner .jamp-side-ranges > li.is-empty .jamp-side-list-title {
	color: #bbb;
	text-decoration: line-through;
}

/* ---- tags cloud ---- */
html.jamp-inner .jamp-side-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

html.jamp-inner .jamp-side-tag {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none !important;
	color: #333 !important;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

html.jamp-inner .jamp-side-tag:hover {
	background: #111;
	border-color: #111;
	color: #fff !important;
}

/* ---- votes ---- */
html.jamp-inner .jamp-side-vote-caption {
	margin: 0 0 14px 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: #111;
}

html.jamp-inner .jamp-side-vote-results {
	list-style: none;
	margin: 0;
	padding: 0;
}

html.jamp-inner .jamp-side-vote-results > li {
	display: grid;
	grid-template-columns: 1fr 60px 28px;
	gap: 8px;
	align-items: center;
	margin-bottom: 10px;
	font-size: 12px;
}

html.jamp-inner .jamp-side-vote-bar-wrap {
	display: block;
	height: 3px;
	background: #eee;
	overflow: hidden;
}

html.jamp-inner .jamp-side-vote-bar {
	display: block;
	height: 100%;
	background: #111;
}

html.jamp-inner .jamp-side-vote-num {
	text-align: right;
	color: #888;
	font-size: 11px;
}

html.jamp-inner .jamp-side-vote-total {
	margin: 12px 0 0 0;
	font-size: 11px;
	color: #888;
	letter-spacing: 0.04em;
}

html.jamp-inner .jamp-side-vote-options {
	list-style: none;
	margin: 0 0 14px 0;
	padding: 0;
}

html.jamp-inner .jamp-side-vote-options > li {
	margin: 0 0 8px 0;
}

html.jamp-inner .jamp-side-vote-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	cursor: pointer;
	color: #222;
}

html.jamp-inner .jamp-side-vote-option input {
	margin-top: 3px;
}

html.jamp-inner .jamp-side-btn {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid #111;
	background: #111;
	color: #fff;
	font-family: inherit;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

html.jamp-inner .jamp-side-btn:hover {
	background: #fff;
	color: #111;
}

/* ---- settings ---- */
html.jamp-inner .jamp-side-settings-form {
	margin: 0 0 14px 0;
}

html.jamp-inner .jamp-side-settings-form:last-child {
	margin-bottom: 0;
}

html.jamp-inner .jamp-side-settings-form label {
	display: block;
	margin: 0 0 6px 0;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #888;
}

html.jamp-inner .jamp-side-settings-form select {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	background: #fff;
	font-family: inherit;
	font-size: 13px;
	color: #111;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
	background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

html.jamp-inner .jamp-side-settings-form select:focus {
	border-color: #111;
}

/* ---- side banners ---- */
html.jamp-inner aside .banner {
	margin: 0 0 36px 0;
	overflow: hidden;
}

html.jamp-inner aside .banner img,
html.jamp-inner aside .banner-image {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ---- generic custom HTML blocks in sidebar ---- */
html.jamp-inner .jamp-side-widget .jamp-side-body p {
	font-size: 13px;
	line-height: 1.55;
	color: #444;
	margin: 0 0 10px 0;
}

html.jamp-inner .jamp-side-widget .jamp-side-body a:not(.jamp-side-more):not(.jamp-side-prod):not(.jamp-side-list-link):not(.jamp-side-tag) {
	color: #111;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---- mobile ---- */
@media (max-width: 991px) {
	html.jamp-inner aside.col-md-4,
	html.jamp-inner aside.col-lg-3 {
		padding-left: 15px;
		padding-right: 15px;
		margin-top: 20px;
	}

	html.jamp-inner .jamp-side-prod-media {
		flex-basis: 64px;
		width: 64px;
		height: 86px;
	}
}
