.product.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 12px;
  border: 1px solid #ededed;
  border-radius: 20px;
  background: #fff;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product.product-card:hover {
  border-color: rgba(251, 67, 17, .2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .07);
  transform: translateY(-2px);
}

#products-table .product.product-card,
.products-table .product.product-card {
  min-height: 0 !important;
}

#products-table > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

#products-table > .row > [class*="col-"] {
  display: flex;
  float: none;
}

.tab-content.products-table > .tab-pane > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.tab-content.products-table > .tab-pane > .row > [class*="col-"] {
  display: flex;
  float: none;
}

.tab-content.products-table .tab-pane .product.product-card {
  flex: 1 1 auto;
  height: auto !important;
}

.product-card__media {
  position: relative;
  padding-top: 30px;
  border-radius: 16px;
  background: #fff;
}

.product-card__meta {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
}

.product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #222;
  font-size: 13px;
  line-height: 1;
}

.product-card__rating > .fa {
  color: #f5a623;
}

.product-card__rating-count {
  color: #aaa;
}

.product-card__compare label {
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}

.product-card__compare input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.product-card__compare-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #bbb;
  font-size: 18px;
  transition: background .2s ease, color .2s ease;
}

.product-card__compare label:hover .product-card__compare-icon {
  background: #fff6f3;
  color: #fb4311;
}

.product-card__compare input:checked + .product-card__compare-icon {
  background: #fff6f3;
  color: #fb4311;
}

.product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  padding: 8px;
  text-decoration: none;
}

.product-card__image picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-card__image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
}

.product-card .product-card__stickers {
  position: absolute;
  right: 4px;
  bottom: 4px;
  left: 4px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.products-table .product.product-card .product-card__stickers,
.products-table_catalog .product.product-card .product-card__stickers {
  top: auto;
  right: 4px;
  bottom: 4px;
  left: 4px;
}

.product-card .product-card__stickers .product__sticker {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  min-height: 22px;
  margin: 0;
  padding: 4px 7px;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 12px 4px 4px;
}

.product-card__pricing {
  min-height: 88px;
}

.product-card__price {
  min-height: 32px;
  margin-bottom: 8px;
  color: #111;
  line-height: 1.15;
}

.product-card__price del {
  display: block;
  margin-bottom: 3px;
  color: #999;
  font-size: 12px;
  font-weight: 400;
}

.product-card__price strong {
  font-size: 21px;
  font-weight: 700;
}

.product-card__price-prefix,
.product-card__price .currency {
  font-size: 14px;
  font-weight: 500;
}

.product.product-card .product-card__price .ui-tooltip.ui-tooltip--product-card {
  position: relative;
  top: auto;
  right: auto;
  display: inline-flex;
  margin-left: 4px;
  vertical-align: middle;
  transform: none;
}

.product-card__installment {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  margin-bottom: 9px;
  padding: 6px 9px;
  border-radius: 7px;
  background: #fff1de;
  color: #222;
  font-size: 12px;
  line-height: 1.2;
}

.product-card__installment[hidden] {
  display: none;
}

.product-card__installment .fa {
  flex: 0 0 auto;
  color: #fb8b24;
}

.product-card__installment strong {
  font-weight: 700;
}

.product-card__name {
  display: -webkit-box;
  min-height: 40px;
  overflow: hidden;
  color: #222 !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.product-card__name:hover,
.product-card__name:focus {
  color: #fb4311 !important;
}

.product-card__code {
  min-height: 17px;
  margin-top: 5px;
  color: #999;
  font-size: 11px;
  line-height: 1.2;
}

.product-card__action {
  display: flex;
  align-items: flex-end;
  min-height: 44px;
  margin-top: auto;
  padding-top: 14px;
}

.product-card__form {
  width: 100%;
  margin: 0;
}

.product-card__form .variant_radiobutton {
  display: none;
}

.product-card__button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: #fb4311;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: box-shadow .2s ease, opacity .2s ease, transform .2s ease;
}

.product-card__button.btn:hover,
.product-card__button.btn:focus {
  background: #fb4311;
  color: #fff;
  box-shadow: 0 9px 22px rgba(251, 67, 17, .24);
  opacity: .94;
  transform: translateY(-1px);
}

.product-card__status {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  color: #777;
  font-size: 13px;
}

@media (max-width: 767px) {
  .product.product-card {
    padding: 8px;
    border-radius: 16px;
  }

  .product.product-card:hover {
    transform: none;
  }

  .product-card__media {
    padding-top: 26px;
  }

  .product-card__image {
    height: 150px;
    padding: 4px;
  }

  .product-card__body {
    padding: 9px 2px 2px;
  }

  .product-card__rating {
    font-size: 12px;
  }

  .product-card__compare-icon {
    width: 27px;
    height: 27px;
    font-size: 17px;
  }

  .product-card__price {
    min-height: 28px;
    margin-bottom: 6px;
  }

  .product-card__pricing {
    min-height: 88px;
  }

  .product-card__price strong {
    font-size: 18px;
  }

  .product-card__installment {
    gap: 5px;
    padding: 6px 7px;
    font-size: 11px;
  }

  .product-card__name {
    min-height: 38px;
    font-size: 13px;
    line-height: 1.45;
  }

  .product-card__action {
    padding-top: 12px;
  }

  .product-card__button.btn {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .product-card__image {
    height: 135px;
  }

  .product-card .product-card__stickers .product__sticker {
    min-height: 20px;
    padding: 3px 5px;
    font-size: 9px;
  }
}
