@media (min-width: 1200px) {
  /*lg*/
  /*6*/
  .product-item-list-col-6   > .col-xs-12 > .row > .col-md-2:nth-child(6n+1),
	.product-item-list-col-1-6 > .col-sm-6:nth-child(2n+1),
	.product-item-list-col-6-1 > .col-sm-6:nth-child(2n+1),
	.product-item-list-col-1-6 > .col-sm-6  > .row > .col-md-4:nth-child(3n+1),
	.product-item-list-col-6-1 > .col-sm-6  > .row > .col-md-4:nth-child(3n+1),
	/*4*/
	.product-item-list-col-4   > .col-xs-12 > .row > .col-md-3:nth-child(4n+1),
	.product-item-list-col-1-4 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	.product-item-list-col-4-1 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	/*3*/
	.product-item-list-col-3   > .col-xs-12 > .row > .col-sm-4:nth-child(3n+1),
	/*2*/
	.product-item-list-col-2   > .col-xs-12 > .row > .col-xs-6:nth-child(2n+1),
	/*1*/
	.product-item-list-col-1   > .col-xs-12 > .row > .col-xs-12:nth-child(1n) {
    clear: both;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  /*md*/
  /*6*/
  .product-item-list-col-6   > .col-xs-12 > .row > .col-md-2:nth-child(6n+1),
	.product-item-list-col-1-6 > .col-sm-6:nth-child(2n+1),
	.product-item-list-col-6-1 > .col-sm-6:nth-child(2n+1),
	.product-item-list-col-1-6 > .col-sm-6 > .row > .col-md-4:nth-child(3n+1),
	.product-item-list-col-6-1 > .col-sm-6 > .row > .col-md-4:nth-child(3n+1),
	/*4*/
	.product-item-list-col-4   > .col-xs-12 > .row > .col-md-3:nth-child(4n+1),
	.product-item-list-col-1-4 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	.product-item-list-col-4-1 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	/*3*/
	.product-item-list-col-3   > .col-xs-12 > .row > .col-sm-4:nth-child(3n+1),
	/*2*/
	.product-item-list-col-2   > .col-xs-12 > .row > .col-xs-6:nth-child(2n+1),
	/*1*/
	.product-item-list-col-1   > .col-xs-12 > .row > .col-xs-12:nth-child(1n) {
    clear: both;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  /*sm*/
  /*6*/
  .product-item-list-col-6   > .col-xs-12 > .row > .col-sm-4:nth-child(3n+1),
	.product-item-list-col-1-6 > .col-sm-6:nth-child(2n+1),
	.product-item-list-col-6-1 > .col-sm-6:nth-child(2n+1),
	.product-item-list-col-1-6 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	.product-item-list-col-6-1 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	/*4*/
	.product-item-list-col-4   > .col-xs-12 > .row > .col-xs-6:nth-child(2n+1),
	.product-item-list-col-1-4 > .col-sm-6:nth-child(2n+1),
	.product-item-list-col-4-1 > .col-sm-6:nth-child(2n+1),
	.product-item-list-col-1-4 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	.product-item-list-col-4-1 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	/*3*/
	.product-item-list-col-3   > .col-xs-12 > .row > .col-sm-4:nth-child(3n+1),
	/*2*/
	.product-item-list-col-2   > .col-xs-12 > .row > .col-xs-6:nth-child(2n+1),
	/*1*/
	.product-item-list-col-1   > .col-xs-12 > .row > .col-xs-12:nth-child(1n) {
    clear: both;
  }
}

@media (max-width: 767px) {
  /*xs*/
  /*6*/

  .product-item-list-col-6   > .col-xs-12 > .row > .col-xs-6:nth-child(2n+1),
	.product-item-list-col-1-6 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	.product-item-list-col-6-1 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	/*4*/
	.product-item-list-col-4   > .col-xs-12 > .row > .col-xs-6:nth-child(2n+1),
	.product-item-list-col-1-4 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	.product-item-list-col-4-1 > .col-sm-6 >  .row > .col-xs-6:nth-child(2n+1),
	/*3*/
	.product-item-list-col-3   > .col-xs-12 > .row > .col-sm-4:nth-child(3n+1),
	/*2*/
	.product-item-list-col-2   > .col-xs-12 > .row > .col-xs-6:nth-child(2n+1),
	/*1*/
	.product-item-list-col-1   > .col-xs-12 > .row > .col-xs-12:nth-child(1n) {
    clear: both;
  }
}

.catalog-section-header {
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  margin: 5px 0;
  padding: 5px 15px;
  border-bottom: 2px solid #d9dee6;
  color: #000;
}

.row::before {
  display: initial;
}

.promo-ico-unit {
  background-color: #f2f2f2;
  border-radius: 0px;
  width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  color: #fff;
  font-size: 12px;
}

.catalog-item__btns a.btn {
  margin-right: auto;
  margin-left: auto;
}

.promo-ico-unit:last-child {
  margin-right: 0;
}

.discount-ico {
  /*background-color: #71b3c2;*/
color: #ffff;
    background-color: rgb(181 129 80);
    border: 1px solid rgb(181 129 80);
}

.new-ico {
  background-color: #49ac00;
  background-image: url(/local/images/ci-ico-new.svg);
  background-position: center;
  background-repeat: no-repeat;
}

/* ITEMS */

.main-catalog-goods-sort-val-row {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
  align-items: flex-start;
  padding-left: 20px;
  box-sizing: border-box;
}

.clear-sort-filter {
  margin-right: 20px;
  min-width: 127px;
  line-height: 39px;
  color: #343a40;
  text-decoration: underline;
  font-size: 15px;
}

.sort-filter-units-container {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
}

.sort-filter-unit {
  transition: 0.2s;
  padding: 10px;
  border: 1px solid #f2f2f2;
  box-sizing: border-box;
  border-radius: 2px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 15px 15px 0;
  font-size: 15px;
}

.sort-filter-unit a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10px;
  margin-right: 10px;
}

.sort-filter-unit a img {
  max-width: 100%;
}

.catalog-item {
  /* max-width: 290px; */
  position: relative;
  background-color: #fff;
  box-sizing: border-box;
  z-index: 1;
  margin-bottom: 55px;
  width: 30.333%;
  margin: 0 1%;
}

.catalog-item .catalog-item__wrapper > a {
  padding-top: 24px;
  min-height: 200px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: static;
  z-index: 2;
  width: 100%;
}

.catalog-item__picture {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.product-item-hidden {
  visibility: hidden !important;
  /* transition-duration: 0ms !important; */
  /* transition:; */
}

.catalog-item:hover .product-item-hidden a {
  visibility: visible !important;
  /* display: block !important; */
}

.product-item-hidden a {
  /* display: none !important; */
  visibility: hidden !important;
}

.catalog-item:hover .product-item-hidden {
  visibility: visible !important;
}

.catalog-item:hover {
  z-index: 2;
}

.catalog-item:hover .catalog-item__wrapper {
  top: 0px;
  width: 100%;
  margin: auto;
  box-sizing: border-box;
  box-shadow: 0px 3px 10px 4px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}

.catalog-item__wrapper {
  position: relative;
  padding: 0 24px 24px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow: none;
  background-color: #fff;

  display: flex;
  flex-direction: column;
  height: 100%;

  /* min-height: 500px; */
}

.catalog-item a {
  color: #343a40;
  text-decoration: none;
  border-color: #979797 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;

  margin: auto;
}

.catalog-item a.btn-default:hover {
  background-color: #2b2a29;
  color: white;
}

.catalog-item-title {
  font-size: 14px;
  text-align: center;
  margin-bottom: 6px;
  flex-grow: 1;
}

.catalog-item__status {
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(181 129 80);
  align-content: center;
}

.catalog-item__status.noavailable {
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff0000;
  align-content: center;
}

.catalog-item__status > span {
  font-size: 28px;
  display: inline-block;
  margin-right: 8px;
  line-height: 1.4;
  position: relative;
  top: -2px;
}

.catalog-item__price {
  font-size: 30px;
  text-align: center;
}

.catalog-item__price--old {
  font-size: 12px;
  color: #5f5f5f;
  text-decoration: line-through;
  margin-right: 10px;
}

.catalog-item__price--old span {
  display: block;
}

.catalog-item__price--save {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: row nowrap;
  font-size: 14px;
  margin: 13px 0 10px;
}

.catalog-item__price--save span {
  background: #ff4f19;
  border-radius: 2px;
  color: #fff;
  padding: 2px 15px;
  margin-left: 10px;
}

.catalog-item__prices-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.catalog-item__btns {
  margin-top: 20px;
}

/*
.catalog-item .add-to-cart {
	border: 1px solid #323232;
	box-sizing: border-box;
	border-radius: 2px;
	padding: 12px 28px;
	text-transform: uppercase;
	font-size: 14px;
	transition: 0.2s;
	background-color: transparent;
	box-shadow: none;
	text-decoration: none;
	color: #323232;
	cursor: pointer;
	margin: 0;
	min-width: 100%;
}
*/

.catalog-item .add-to-cart a {
  margin: 0;
}

.promo-ico-panel {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.promo-ico-unit:last-child {
  margin-right: 0;
}


.new-ico {
  background-color: #49ac00;
  background-position: center;
  background-repeat: no-repeat;
}

.prize-ico {
  background-color: #e410c2;
  background-position: center;
  background-repeat: no-repeat;
}

.promo-ico-panel {
  z-index: 3;
}

.catalog-item .header-fav-link {
  position: absolute;
  z-index: 3;
  top: 27px;
  right: 24px;
  width: auto;
  cursor: pointer;
}

.catalog-item .header-fav-link.liked svg path {
  fill: #5f5f5f;
}

.product-item-scu-item-list {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-flow: row wrap;
  list-style: none;
  padding: 0;
}

.product-item-scu-item-text-container {
  border: 1px solid #979797;
  width: 58px;
  text-align: center;
  padding: 0 10px;
  color: #4a4a4a;
  margin-right: 12px;
  margin-bottom: 12px;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 40px;
  border-radius: 2px;
  font-size: 14px;
}

.ci-hov-size-title {
  text-align: center;
  display: block;
  font-size: 12px;
  color: #5f5f5f;
  margin-bottom: 10px;
}

.product-item-scu-item-text-container:nth-child(6n) {
  margin-right: 0;
}

.product-item-scu-item-text-container:hover {
  border-color: #000;
}

.product-item-scu-item-text-container.selected {
  background-color: #323232;
  border-color: #323232;
  color: #fff !important;
}

.product-item-scu-item-text-container.notallowed {
  pointer-events: none;
  cursor: default;
  background-color: #ededed;
  color: #d6d6d6;
  border-color: #ededed;
}
/*
.promo-ico-panel {
	position: absolute;
	top: 55%;
	left: calc(50% - 15px);
}
*/

.promo-ico-panel {
  position: absolute;
  top: 27px;
  left: 24px;
}

@media screen and (min-width: 768px) {
  /*
	.promo-ico-panel {
		position: absolute;
		top: 22px;
		left: 0;
	}
	*/
  .main-catalog-panel .promo-ico-panel {
    top: -2px;
  }
}

@media screen and (max-width: 768px) {
  .main-catalog-goods-sort-val-row {
    display: none;
  }
  .catalog-wrapper:not(.catalog-wrapper--main) {
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 15px;
  }
  .catalog-item {
    width: calc(100% / 3);
    margin: 0;
  }
  .catalog-item__wrapper {
    padding: 8px;
  }
}

@media screen and (max-width: 480px) {
  .catalog-item {
    width: 50%;
    margin: 0;
  }
}

@media (max-width: 600px) {
  /* .catalog-item {
    max-width: 200px;
    min-width: 160px;
  } */

  .catalog-item__wrapper {
    min-height: unset !important;
    padding: 0 16px 16px 16px !important;
  }

  .catalog-item-title {
    font-size: 12px !important;
    margin-bottom: 0;
    margin-top: 6px;
  }

  .catalog-item__price--old {
    font-size: 12px !important;
  }

  .catalog-item__price {
    font-size: 18px;
  }

  .catalog-item__status,
  .promo-ico-unit,
  .catalog-item__btns a span {
    font-size: 12px !important;
  }

  .promo-ico-unit {
    width: 37px;
    height: 24px;
  }

  .catalog-item__btns {
    margin-top: 8px;
  }

  .catalog-item__status > span {
    font-size: 16px;
    line-height: 1;
    margin-right: 4px;
    margin-top: 2px;
  }

  .catalog-item .btn-default {
    padding: 6px 0 !important;
    margin: 0 !important;
  }

  .catalog-item .catalog-item__wrapper > a {
    flex-grow: 1;
  }

  .catalog-item__picture {
    max-height: 124px !important;

    img {
      max-height: 124px;
    }
  }

  .catalog-item {
    padding: 0 10px;
    margin: 10px 0;
  }

  .add-to-fav svg {
    width: 16px !important;
  }
}
