.variants {}
.variants table {
  font-size: 14px;
  line-height: 120%;
}
.variants table tr {
  vertical-align: middle;
}
.variants table th,
.variants table td {
  white-space: nowrap;
  vertical-align: middle;
  padding: .35rem .5rem;
}
.variants table th:not(.left),
.variants table td:not(.left) {
  text-align: center;
}
.variants table th {
  font-weight: 600;
  background: #666;
  color: #eee;
}
.variants .quantity {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: nowrap;
	min-width: 100px;
}
.quantity button {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  background: #ccc;
  border: 0;
  outline: none;
  cursor: pointer;
  transition: .2s ease-in-out;
  line-height: 100%;
}
.quantity button svg {
  pointer-events: none;
}
.quantity button:hover {
  background: #b32325;
  color: white;
}
.quantity input {
	display: block;
	height: 28px;
	width: 100%;
	flex: 0 0 40px;
	max-width: 40px;
	font-size: 14px;
	line-height: 28px;
	text-align: center;
	border: 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	box-shadow: none !important;
	outline: 0 !important;
}
.variants table td .btn.btn-sm {
  font-size: 12px;
  font-weight: 600;
  line-height: 120%;
  padding: .35rem .5rem;
}

.card-templates {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  margin: 0 -4px;
}
.card-template {
  margin: 0 4px;
}
.card-template input {
  display: none;
}
.card-template label {
  cursor: pointer;
  opacity: .25;
  transition: var(--transition);
}
.card-template label:hover {
  opacity: 1;
}
.card-template input:checked + label {
  cursor: initial;
  color: var(--color-2);
  opacity: 1;
}

.category-wrapper .page-header {
  margin: 0 0 1rem;
}
.category-wrapper .page-header h1 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 120%;
  font-weight: 600;
  color: var(--color-1);
}

.productitem.md {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}
.productitem.md .image {
  flex: 0 0 6rem;
  width: 6rem;
  height: 6rem;
  margin: 0 1rem 0 0;
}
.productitem.md .details {
  flex: 1;
  margin: 0 1rem 0 0;
}
.productitem.md .buttons {
  flex-direction: column;
  flex: 0 0 120px;
  margin: 0;
}
.productitem.md .buttons .btn {
  width: 100%;
  margin: .25rem 0;
  padding: .5rem .5rem;
  font-size: 14px;
  line-height: 120%;
  font-weight: 600;
}

.jshop_filters {}
.jshop_filters .head_group {
  margin: 0 0 .25rem;
  padding: 0;
}
.jshop_filters .head,
.jshop_filters .head_group,
.jshop_filters .head_group span {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-1);
}

.products-list .filter_active_vals {
  display: none !important;
}
.jshop_filters .form-check > input[type="radio"],
.jshop_filters .form-check > input[type="checkbox"] {
  margin-top: .25em !important;
  margin-left: -1.5em !important;
}
.jshop_filters .filters-lists {
  max-height: 130px;
  overflow-y: auto;
}
.jshop_filters .simplebar-track {
  background: #ccc;
  border-radius: 7px;
  width: 4px;
}
.jshop_filters .simplebar-scrollbar:before {
  background: var(--color-2);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 1;
}
.jshop_filters .filter-price-block #amount {
  display: none;
}
.jshop_filters .ui-state-default,
.jshop_filters .ui-widget-content .ui-state-default,
.jshop_filters .ui-widget-header .ui-state-default {
  border-radius: 50%;
  background: #999;
}
.jshop_filters .ui-slider-horizontal {
  height: 4px;
}
.jshop_filters .ui-slider-horizontal .ui-slider-range {
  background: var(--color-2);
}
.jshop_filters .ui-slider .ui-slider-handle {
  width: 1rem;
  height: 1rem;
  top: -.45rem;
  background: var(--color-2);
  margin-left: 0;
  border-color: var(--color-2);
}
.jshop_filters .box_price_from > span,
.jshop_filters .box_price_to > span,
.jshop_filters .box_price_currency {
  display: none;
}
.jshop_filters .filter_price {
  display: flex !important;
  flex-direction: row;
}
.jshop_filters .box_price_from,
.jshop_filters .box_price_to {
  flex: 0 0 50%;
}
.jshop_filters .filter_item .filter_price input[type="text"] {
  width: 100% !important;
}
.form-check-input:checked {
	background-color: var(--color-2);
	border-color: var(--color-2);
}
#submit_product_list_filter_sort_dir {
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}
#submit_product_list_filter_sort_dir:hover {
  color: var(--color-2)
}
.category-filters {
  font-size: 14px;
}
.category-filters .title {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.category-filters.search-sidebar .jshop_menu_level_0 {
  margin-bottom: 4px;
}
.category-filters.search-sidebar a {
  text-decoration: none;
}
.main-image a {
  display: block;
}
.main-image a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumbs-items {
  display: flex;
  margin-top: 10px;
}
.thumbs-item {
  flex: 1 1 calc(100% / 4 - 10px);
  width: calc(100% / 4 - 10px);
  margin-left: 10px;
}
.thumbs-item:first-child {
  margin-left: 0;
}
.thumbs-item a {
	display: block;
	position: relative;
	height: 135px;
}
.thumbs-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumbs-item .count {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-2);
  font-size: 11px;
  text-align: center;
}
.thumbs-item a:hover .count {
  color: #000;
}
.productitem .productcard-label {
	position: absolute;
  left: -10px;
  top: 10px;
  z-index: 1;
  background: var(--color-2);
  font-size: 12px;
  padding: 2px 4px;
  color: #000;
}
.productitem .productcard-label:before {
	content: "";
	position: absolute;
	height: 0;
	width: 0;
	border-style: solid;
	border-color: var(--color-2) transparent transparent;
	border-width: 5px 0px 17px 10px;
	top: 100%;
	left: 0;
}
.productitem .productcard-label:after {
	content: "";
	position: absolute;
	height: 0;
	width: 0;
	border-style: solid;
	border-color: #000 transparent transparent;
	border-width: 5px 0px 17px 10px;
	top: 100%;
	left: 0;
  opacity: .3;
}
.block_sorting_count_to_page .icon-arrow,
.block_sorting_count_to_page #submit_product_list_filter_sort_dir.icon-arrow:hover {
  color: var(--color-2);
}
.block_sorting_count_to_page #submit_product_list_filter_sort_dir.icon-arrow {
  color: var(--color-1);
}
@media screen and (max-width: 991px){
  .category-wrapper {
    flex-direction: column;
  }
  .category-wrapper > .category-filters {
  	padding: 0;
  	background: transparent;
  	margin-bottom: 15px;
  }
	.category-filters .list_fblock {
	  padding: 15px 15px 0;
	}
}
@media screen and (max-width: 767px){
	#variants-table table thead {
	  display: none;
	}
	#variants-table table tbody tr {
	  display: flex;
	  flex-wrap: wrap;
	}
	#variants-table .mobile-title {
	  display: inline !important;
	}
	#variants-table table tbody tr td {
	  flex: 1 1 50%;
	  box-shadow: none !important;
	  border: 0;
	}
	#variants-table table tbody tr td.variant-name {
	  font-weight: bold;
	  width: 100%;
	  flex: 1 1 100%;
	}
	.variant-price {
	  flex: 1 1 100% !important;
	  display: flex;
	  justify-content: flex-start;
	  align-items: center;
	}
	.variant-price .rounded-hint {
	  margin: 0;
	}
	.variant-count {
	  flex: 1 1 100% !important;
	  text-align: left !important;
	}
	.variant-quantity,
	.variant-action {
	  border-bottom: 2px solid #ddd !important;
	  padding-bottom: 13px !important;
	  margin-bottom: 10px;
	}
	#variants-table table tbody tr td.variant-quantity {
	  flex: 0 0 100px;
	}
	.variant-action form {
	  text-align: left;
	}
	.product-top {
	  flex-wrap: wrap;
	}
	.product-top .price {
	  margin-bottom: 10px;
	}
}