.quest-card .quest-card-top {
  width: 100%;
  aspect-ratio: 3.6 / 3;
  height: auto;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

.quest-card .quest-card-top .cart-background {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: all;
}
.quest-card-img-wrap {
  position: relative;
  z-index: 1;
  padding: 10px;
  width: 150px;
  height: fit-content;
  display: block;
  padding-top: 55px;
  margin-left: 10px;
  top: 10px;
}
.quest-card-img-wrap:before {
  content: '';
  background: url(/include/images/photo-back.webp);
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  z-index: 1;
}
.quest-card-img-wrap img {
  width: 130px;
  height: auto;
  aspect-ratio: 1.3 / 1.5;
  z-index: 2;
  position: relative;
  object-fit: cover;
}

.quest-card-title {
  width: 100%;
  color: var(--color-dark);
  font-size: 24px;
  line-height: 1;
  text-align: center;
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
  height: 73px;
  margin-top: -13px;
}
.quest-card-title a {
  display: block;
  position: relative;
  z-index: 3;
}
.quest-card-title:before {
  content: '';
  background: url(/include/images/title-paper.webp);
  position: absolute;
  left: 10px;
  bottom: 0;
  width: calc(100% - 20px);
  height: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 0;
}
.badge {
  position: absolute;
  top: 20px;
  right: 18px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  text-align: end;
  align-items: end;
  height: 30px;
  justify-content: center;
  width: 80px;

  transform: rotate(4.39deg) translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  outline: 1px solid transparent;
}


.quest-card-props {
  flex: 1;
  padding: 65px 10px 0 10px;
  color: var(--color-dark);
  height: fit-content;
  z-index: 3;
  position: relative;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prop_NUMBER {
  font-weight: 300;
  font-size: 14px;
}
.prop-item {
  display: flex;
  gap: 10px;
  width: fit-content;
  align-items: center;
  position: relative;
}
.prop-item svg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  fill: var(--color-red);
}

.prop_name {
  font-weight: 400;
  padding-left: 35px;
}
.lupa-inactive svg {
  fill: var(--color-dark);
}
.prop_TRUDN.prop-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: start;
}
.prop_TRUDN.prop-item .prop_name {
  padding-left: 0;
}
.prop_TRUDN.prop-item svg {
  position: relative;
}

.rating {
  display: flex;

  gap: 5px;
}
.quest-card-price-block {
  padding: 10px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  height: 56px;
}
.quest-price-current {
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  color: var(--color-red);
}
.quest-price-old {
  font-weight: 300;
  font-size: 16px;
  line-height: 1;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0px 7px;
}
.quest-price-old:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: var(--color-red);
  transform-origin: center center;
  transform: rotate(-30deg) translateY(-50%);
}
.quest-card-buttons {
  display: flex;
  width: 100%;
  gap: 3px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ffffff1a;
}
.btn-buy,
.btn-detail {
  width: calc((100% - 3px) / 2);
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  font-family: var(--font-main);
  border: 1px solid transparent;
  transition: 0.3s ease-in-out all;
}
.btn-buy {
  background-color: var(--color-red);
  font-weight: 500;
}
.btn-buy:hover {
  box-shadow: inset 0 0 15px 5px rgba(255, 255, 255, 0.3);
}
.btn-detail {
  background-color: var(--color-gold);
  font-weight: 300;
}
.btn-detail:hover {
  box-shadow: inset 0 0 15px 5px rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn-buy.in-basket {
  background-color: var(--color-dark);
  border-color: var(--color-red);
}

.btn-buy.in-basket:hover {
  background-color: var(--color-red);
  color: #fff;
}
.btn-buy.disabled {
  background: var(--color-beige);
  color: var(--color-red);
  border: 1px solid var(--color-red);
  cursor: default;
}
.btn-buy.disabled:hover {
  box-shadow: inset 0 0 15px 5px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .badge {
  right: 16px;
  width: 76px;
}
}
