@charset "UTF-8";
.catalog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.catalog-list .product__img-wrapper {
  aspect-ratio: 437/624;
}
.catalog-list .product__img-wrapper img {
  height: 100%;
}
.catalog__products-item {
  width: calc((100% - 20px) / 2);
}

@media (min-width: 620px) {
  .catalog-list {
    gap: 15px;
    justify-content: flex-start;
  }
  .catalog__products-item {
    width: calc((100% - 15px) / 2);
    max-width: 100%;
  }
}
@media (min-width: 1290px) {
  .catalog__products-item {
    width: calc((100% - 30px) / 3);
  }
  .wide-catalog .catalog__products-item {
    width: calc((100% - 90px) / 4);
  }
}
.custom-radio {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.custom-radio-size {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.custom-radio-color {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

/* для элемента label связанного с .custom-radio */
.custom-radio + label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-color: white;
  cursor: pointer;
  position: relative;
}

/* стили для активной радиокнопки (при нажатии на неё) */
.custom-radio:not(:disabled):active + label {
  background-color: transparent;
  border: 1px solid #575757;
}

/* стили для радиокнопки, находящейся в состоянии checked */
.custom-radio:checked + label {
  background-color: rgba(217, 217, 217, 0.5);
  border: 1px solid #575757;
}

.custom-radio-size + label {
  display: inline-flex;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
}

.custom-radio-size + label > span {
  width: unset;
  cursor: pointer;
}

/* стили для радиокнопки, находящейся в состоянии checked */
.custom-radio-size:checked + label {
  background-color: rgb(165, 201, 156);
}