/* ==========================================================================
   Adet (miktar) indirimi - Journal 3 ürün kartı
   Turuncu köşe şeridi + fiyatın altındaki turuncu indirim barı
   Renkler site logosu / tema buton rengi ile aynıdır (#ee7624 / #fa8523)
   ========================================================================== */

/* --- Köşe şeridi --- */
.product-thumb .image {
  position: relative;
}

.qd-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 118px;
  height: 118px;
  overflow: hidden;
  pointer-events: none;
  /* Journal etiketleri (.product-labels z-index:3) üstte kalsın */
  z-index: 2;
}

.qd-ribbon span {
  position: absolute;
  top: 26px;
  left: -42px;
  display: block;
  width: 170px;
  padding: 5px 0;
  transform: rotate(-45deg);
  background-color: #ee7624;
  background-image: linear-gradient(to right, #fa8523, #e06a18);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .4px;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  white-space: nowrap;
}

/* --- Marka turuncusu indirim barı --- */
.product-thumb .qd-bar {
  display: block;
  margin: 8px 0 6px;
  padding: 6px 6px;
  border-radius: 4px;
  background-color: #ee7624;
  background-image: linear-gradient(to right, #f57d28, #e66d1b);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0;
  white-space: normal;
  text-wrap: balance;
  hyphens: none;
  cursor: default;
}

.product-thumb .qd-bar:hover {
  background-color: #d9661a;
  background-image: linear-gradient(to right, #e8711f, #d4600f);
}

/* Liste görünümünde barı daha geniş göstermemek için */
.product-thumb.product-list .qd-bar {
  display: inline-block;
  padding: 7px 16px;
}

/* Mobil */
@media (max-width: 575px) {
  .qd-ribbon {
    width: 92px;
    height: 92px;
  }

  .qd-ribbon span {
    top: 20px;
    left: -34px;
    width: 136px;
    padding: 4px 0;
    font-size: 9px;
  }

  .product-thumb .qd-bar {
    font-size: 11px;
    padding: 5px 4px;
  }
}
