@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;
}

.card-page__content__left-side .size-block__tables .size-table tr td {
  padding: 13px 0 13px 10px !important;
}

.size-table__buy {
  background-color: #e8e8e8;
  border: none;
  padding: 10px 24px;
  color: #000;
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
  border-radius: 4px;
}

.size-table__buy:active {
  background-color: #d4d4d4;
}

dialog#buy-modal {
  border: none;
  border-radius: 4px;
  padding: 32px;
  width: 760px;
  margin: auto;
}

dialog#buy-modal::backdrop {
  background-color: rgb(0 0 0 / 50%);
}

@media screen and (max-width: 500px) {
  dialog#buy-modal {
    padding: 16px;
  }

  .modal-container__table-cell-full-row {
    justify-content: end !important;
  }
}

.modal-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-container__header {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.close-modal-buy {
  position: relative;
  width: 20px;
  height: 20px;
  border: none;
  background-color: transparent;
}

.close-modal-buy::after,
.close-modal-buy::before {
  content: "";
  position: absolute;
  width: 17px;
  height: 2px;
  background-color: #374957;
  rotate: 45deg;
  left: calc(50% - 7.5px);
  top: 50%;
}

.close-modal-buy::before {
  rotate: -45deg;
}

.modal-container__region-select {
  width: 100%;
  padding: 16px;
  border-radius: 100px;
  max-height: none;
  height: auto;
}

.modal-container__table-header {
  display: flex;
  gap: 16px;
  background: #f2f2f2;
  padding: 16px;
  align-items: center;
}

.modal-container__table-cell-full-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.modal-container__table-cell {
  width: 100px;
}

.modal-container__table-header-organization {
  font-weight: 700;
}

.modal-container__table-header-region {
  font-size: 12px;
  font-weight: 600;
  background-color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
}

.modal-container__table-content {
  display: flex;
  padding: 24px 16px;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.modal-container__table-cell-link {
  background-color: #ff0000;
  padding: 10px 24px;
  font-size: 14px;
  color: #fff;
  font-weight: 800;
  border-radius: 4px;
}

.modal-container__table-cell-link:hover {
  color: #fff;
}

.modal-container__table-cell img {
  max-width: 100%;
  min-width: 100px;
}

.no-found-data {
  color: #c0c0c0;
  width: 100%;
  text-align: center;
  margin: 20px 0 20px 0;
  font-size: 20px;
  font-weight: 500;
}

.link-buy {
  color: #5377c1;
  border-bottom: 1px solid #5377c1;
}

.loader,
.loader:after {
  overflow: hidden;
  border-radius: 50%;
  width: 10em;
  height: 10em;
}

.loader {
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid #ff00001f;
  border-right: 1.1em solid #ff00001f;
  border-bottom: 1.1em solid #ff00001f;
  border-left: 1.1em solid #ff0000;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
