.goods_ааа{
  display: flex;
  flex-direction: column;
  text-align: center;

}



/* блок товаров */
.block.goods_ааа {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
}

/* для  внутр элементов */
.block.goods_ааа * {
  max-width: 100%;
  box-sizing: border-box;
}


.block.catalog {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
  
}

/* внутр элементов */
.block.catalog * {
  max-width: 100%;
  box-sizing: border-box;
}



.goods{
  display: flex;
  flex-direction: column;
  grid-gap:20px;
  text-align: center;
  justify-content: center;
}


.goods__item {
  height: 100%;
}



.goods__list:first-child{
  padding-top: 20px;
}

.goods__list{
  padding-bottom: 20px;

}

.goods__block{
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: space-evenly;
}
.goods__img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.goods__btn_submit{
  width: 180px;
  height: 50px;
  background: transparent;
  border: 2px solid #8cbbd1;
  color: #51879e;
  padding: 8px 10px;
  font-family: mainFont;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  /*transition: all 0.3s ease 0s;*/
}

.goods__btn_submit:hover {
  background: #8cbbd1;
  color: white;
}

.goods__btn_new{
  width: 100px;
  height: 30px;
  cursor: pointer;
  background: transparent;
  border: 1px solid #8cbbd1;
  color: #51879e;
  outline: none;
  transition: 1s ease-in-out;
}

.goods__btn_new:hover {
  transition: 1s ease-in-out;
  background: #8cbbd1;
  color: #fff;
}


.goods__info, .goods__header{
  color:  #51879e;
  font-size: 21px;
}

.goods__buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: auto;
  font-family: mainFont;
}

.goods__btn_soon {
  width: 180px;
  height: 50px;
  background: #ffffff;
  border: 2px solid #666666a1;
  color: #666;
  padding: 8px 20px;
  font-family: mainFont;
  font-size: 14px;
  cursor: default;
  transition: 0.3s;
}

.goods__btn_specs {
  width: 180px;
  height: 50px;
  background: transparent;
  border: 2px solid #8cbbd1;
  color: #51879e;
  padding: 8px 15px;
  font-family: mainFont;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.goods__btn_specs:hover {
  background: #8cbbd1;
  color: white;
}

.goods__price{
  font-family: mainFont;
  font-size: 16px;
  color: #51879e;
}


/* Кнопка назад в каталоге */

.back-link-catalog {
  display: inline-block;
  background: transparent;
  border: none;
  color: #51879e;
  font-size: 16px;
  font-family: mainFont;
  cursor: pointer;
  transition: color 0.3s;
  padding-top: 10px;
  text-align: left;
  width: 100px;
}

.back-link-catalog:hover {
  color: #8cbbd1;
}

