/* Müşteri favori klasör modalı + kalp butonu — tüm vitrin temaları */
.myt-fav-btn,
.btn-wishlist.nb-fav-toggle,
.md-pc-act--fav,
.md-fav-btn,
.sz-pc-act--fav,
.sz-fav-btn,
.vex-fav-btn,
.lx-fav-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 1;
  color: inherit;
}

.myt-fav-btn .bi-heart,
.myt-fav-btn .bi-heart-fill,
.btn-wishlist .bi-heart,
.btn-wishlist .bi-heart-fill {
  font-size: 1.15rem;
  transition: color .2s ease, transform .15s ease;
}

.myt-fav-btn.is-fav .bi-heart,
.myt-fav-btn.is-fav .bi-heart-fill,
.btn-wishlist.is-fav .bi-heart,
.btn-wishlist.is-fav .bi-heart-fill,
.md-pc-act--fav.is-active,
.md-fav-btn.is-active,
.sz-pc-act--fav.is-active,
.sz-fav-btn.is-active,
.vex-fav-btn.is-fav,
.lx-fav-btn.is-fav {
  color: #e11d48;
}

.myt-fav-modal[hidden] { display: none !important; }

.myt-fav-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.myt-fav-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .45);
}

.myt-fav-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
  overflow: hidden;
}

.myt-fav-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.1rem .5rem;
}

.myt-fav-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.myt-fav-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}

.myt-fav-modal__body { padding: 0 1.1rem 1rem; }

.myt-fav-modal__lead {
  margin: 0 0 .75rem;
  font-size: .88rem;
  color: #4b5563;
}

.myt-fav-modal__list {
  list-style: none;
  margin: 0 0 .85rem;
  padding: 0;
  max-height: 220px;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.myt-fav-modal__item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .75rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
}

.myt-fav-modal__item:last-child { border-bottom: 0; }

.myt-fav-modal__item:hover { background: #f9fafb; }

.myt-fav-modal__item.is-selected { background: #fff7ed; }

.myt-fav-modal__item-name {
  flex: 1;
  font-size: .92rem;
  color: #111827;
}

.myt-fav-modal__item-count {
  font-size: .75rem;
  color: #6b7280;
}

.myt-fav-modal__badge {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #c2410c;
  background: #ffedd5;
  border-radius: 999px;
  padding: .15rem .45rem;
}

.myt-fav-modal__new {
  display: flex;
  gap: .5rem;
}

.myt-fav-modal__input {
  flex: 1;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: .5rem .65rem;
  font-size: .88rem;
}

.myt-fav-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
  padding: .85rem 1.1rem 1rem;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
}

.myt-fav-modal__btn {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: .5rem .85rem;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
}

.myt-fav-modal__btn--primary {
  background: #111827;
  color: #fff;
}

.myt-fav-modal__btn--ghost {
  background: #fff;
  border-color: #d1d5db;
  color: #374151;
}

.myt-fav-modal__btn--danger {
  background: #fff;
  border-color: #fecaca;
  color: #b91c1c;
  margin-right: auto;
}

.myt-fav-modal__btn[disabled] { opacity: .6; cursor: not-allowed; }

/* Hesabım favoriler layout — myt-account.css (.myt-acc .acc-fav-layout) */

.myt-fav-btn--card,
.myt-fav-btn--pdp {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}

.myt-product-card__img-wrap,
.gl-pc,
.myt-sc-bordered .position-relative {
  position: relative;
}

.myt-fav-btn--pdp {
  position: static;
  width: 42px;
  height: 42px;
  margin-left: .5rem;
  flex-shrink: 0;
}
