.sizeMap-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.sizeMap-row .color-block,
.sizeMap-row .size-block {
  margin-right: 10px;
}
.sizeMap-row span {
  font-weight: 500;
}

.sizeMap-row .size {
  display: inline-block;
  min-width: 31px;
  height: 31px;
  margin: 7px 5px 7px 0;
  padding: 2px 5px 5px 5px;
  cursor: pointer;
  text-align: center;
}

.sizeMap-row .size span {
  font-weight: normal;
  line-height: 0;
}

.card .sizeMap-row .size span {
  font-size: var(--text-xxs);
  line-height: 1;
}

.c-goods--list .sizeMap-row {
  float: left;
}

.size.inactive:before {
  left: -2px;
  top: 47%;
  content: "";
  width: 117%;
  height: 1px;
  position: absolute;
  background: #4a4848;
  -webkit-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  transform: rotate(40deg);
}

.size.inactive {
  background: #eaeaea;
  color: #817f7f;
  position: relative;
}

.sizeMap-row span {
  font-size: 1rem;
}

.color-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.color {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  background: var(--color-bg-accent);
  border-radius: 4px;
  height: 4rem;
  padding: 1rem 1.5rem;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 400;
  color: var(--color-text);
  transition:
    box-shadow 0.25s,
    color 0.25s;
  cursor: pointer;
  margin: 0 0.5rem 1rem 0.5rem;
}
.size.active,
.color.active {
  box-shadow: 0 0 0 2px var(--color-accent);
  color: var(--color-text);
}

.color .color-block__color-container {
  display: block;
  margin: 0 1rem 0 0;
  border-radius: 3px;
  width: 21px;
  height: 15px;
  min-width: auto;
}
.product-page__order .size-block > span,
.product-page__order .color-block > span {
  width: 100%;
  display: block;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 1rem;
}

.product-page__order .sizeMap-row .size {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  background: var(--color-bg-accent);
  border-radius: 4px;
  height: 4rem;
  padding: 1rem 1.5rem;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 400;
  color: var(--color-text);
  transition:
    box-shadow 0.25s,
    color 0.25s;
  cursor: pointer;
  margin: 0 0.5rem 1rem 0.5rem;
  border: none;
}
.product-page__order .variant__scroll {
  max-height: 250px;
}



