.product-widget h2 {
  font-size: 1.5em;
  font-weight: 400;
  color: #dd3333;
  margin: 0;
  margin-top: 50px;
}

.product-widget__tabs {
  overflow: hidden;
  margin-top: 12px;
  background-color: #e0e0e0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.product-widget__tab {
  border: none;
  background-color: transparent;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 14px;
  transition: 0.3s;
  flex: 1;
  -ms-flex: 1;
  flex-basis: auto;
}
.product-widget__tab.active,
.product-widget__tab:hover {
  cursor: pointer;
  color: white;
  background-color: #f2af2a;
}

.product-widget__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 24px;
  margin-top: 30px;
}
.product-widget__product {
  position: relative;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #74777b;
  container-type: inline-size;
}

.product-widget__product .goods { width:229px;max-width:300px; }
.product-widget__product .wrap { margin:0 auto; }

.product-widget__image {
  /* height:auto;min-height:250px;*/width: 100%;
  margin:10px 0 0 0;
  border: 1px solid #eee;aspect-ratio: 1 / 1;overflow: hidden;
}
.inline .product-widget__image {
  width: auto;
}
.product-widget__product img {
  /* object-fit: contain;
  -o-object-fit: contain;
  height: 100%; */margin:0 auto;
  transition: .3s;max-height:320px;
}
.product-widget__product img.horizon { width:100%;height:auto; }
.product-widget__product img.vertical { max-height:100%;width:auto; }
.product-widget__product img.square { width:100%;height:100%; }
.product-widget__product img:hover{
	filter: brightness(1.1);
}
.product-widget__product a {
  text-decoration: none;
  color: #0000a3;
  transition: 0.3s;
}
.product-widget__product a:hover {
  color: #f2af2a;
}
.product-widget__product h3 { text-align: center;font-size: 1rem;font-weight: 400;margin: 0;line-height: 1.3;height: 2.4rem;overflow: hidden; }
.product-widget__status {
  margin-top: 10px;
  color: #4d4d4d;
}
.product-widget__status .product-widget__status-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  border-radius: 100px;
  background-color: red;
}
.product-widget__status_on-storage .product-widget__status-icon {
  background-color: green;
}
.product-widget__status svg {
  fill: white;
}
.product-widget__price {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
  color: rgb(43, 43, 45);
  white-space: nowrap;
}
.product-widget__price del {
  color: #a7a7a7;
  font-size: 14px;
  font-weight: 600;
  margin-right: 5px;
  white-space: nowrap;
}
.product-widget__price ins {
  color: #f00000;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.product-widget__price ins span {
  color: black;
}
.product-widget__controls {
  margin-top: 15px;
  width: 100%;
}
.product-widget__count-controler button {
  border: 1px solid #cccccc;
  background-color: white;
  font-size: 14px;
  transition: 0.3s;
}
.product-widget__count-controler button:hover,
.product-widget__button:hover {
  cursor: pointer;
  color: white;
  background-color: #f2af2a;
}
.product-widget__count-controler input {
  border-left: none;
  border-right: none;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding: 6px 1px;
  text-align: center;
  color: #777777;
  width: 25px;
}
.product-widget__button {
  font-size: 12.5px;
  text-transform: uppercase;
  border: none;
  color: white;
  background-color: #c7c7c7;
  transition: 0.3s;
}
.product-widget__button svg {
  fill: white;
}
.product-widget__button span {
  margin-left: 5px;
}
.product-widget__button {
  display: flex;
  align-items: center;
}
.product-widget__button_compare {
  padding: 4px;
}
.product-widget__button_compare svg {
  width: 25px;
  height: 20px;
}
.product-widget__button_buy {
  margin-left: 5px;
  padding: 10px 25px;
}
.product-widget__show-more {
  margin-top: 30px;
  cursor: pointer;
  background: linear-gradient(#ffb92c, #ffa921);
  border: none;
  color: white;
  fill: white;
  padding: 18px 20px;
  text-transform: uppercase;
  font-weight: 900;
  transition: 0.3s;
}
.product-widget__show-more:hover {
  filter: brightness(0.95);
  -webkit-filter: brightness(0.95);
  -ms-filter: brightness(0.95);
}
.product-widget__show-more div {
  margin-left: 15px;
}
.product-widget__items.loading {
  font-size: 20px;
  color: #777;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}
.product-widget__items_cat {
  grid-template-columns: repeat(3, 1fr);
  row-gap: 10px;
}
.product-widget__category {
  display: inline-block;
  overflow: hidden;
  width: 100%;
  height: 300px;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  font-size: 12px;
  font-weight: bold;
}
.product-widget__category {
  /*transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);*/
  opacity: 1;
  transition: 0.5s;
  border-radius: 20px;
}
.product-widget__category img {
  overflow: hidden;
  position: relative;
  width: 100%;
  /*height: 200px;*/
  object-fit: contain;
  z-index: 0;
  border-radius: 20px;
}
.product-widget__category:hover {
  /*transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -moz-transform: scale(0.95);*/
  opacity: 0.7;
}
.product-widget__category span {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 30px;
  margin-top: -34px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.product-widget__show-more.hidden {
  display: none;
}
.product__percents {
  position: absolute;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #dd3333;
  color: white;
  font-weight: 700;
  font-size: 15px;
  z-index: 10;
  width: 60px;
  height: 60px;
  margin-left: calc(100% - 3.6vw - 30px);
  margin-top: 2.2vw;
  transition: 0.3s;
}
.product-widget__product .product__percents {
  margin-left: calc(100% - 100px);
  margin-top: 35px;
}
.product-widget__product:hover .product__percents {
  background: red;
}
.product-widget__product .product-widget__count-controler {
  justify-content: center;
  width: 100%;
}
.product-widget__product .product-widget__count-controler input {
  width: 50px;
}
.product-widget__product .product-widget__button_buy {
  margin-left: 0;
}
.products__view.inline .product-widget__button_buy {
  margin-left: 5px;
}
.product-widget__button_compare.active {
  background-color: #ffa921;
}
.product-widget__button_buy.active {
  background-color: #ffa921;
}
.inline .product-widget__image{
	margin-top: 0px;
}
.inline .product-widget__product{
	padding: 5px;
}
@container (max-width: 230px) {
  .product-widget__button_buy {
    padding: 5px 12.5px;
  }
}
@media (max-width: 1500px) {
  .product-widget__items {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1000px) {
  .product-widget__items {
    grid-template-columns: 1fr 1fr;
  }
  .product-widget__items_cat {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 500px) {
  .inline .product-widget__product, .inline .product-widget__product .flex.flex_between { flex-direction:column; }
  .product-widget__count-controler button,
  .product-widget__count-controler input {
    font-size: 20px;
    padding: 10px;
  }
  .product-widget__items {
    grid-template-columns: 1fr;
  }
  .product-widget__items_cat {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-widget__tabs {
    flex-direction: column;
  }
}
