/* ===== Wishlist drawer ===== */
.haydar-wl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 19, 15, 0.55);
  backdrop-filter: blur(2px);
  z-index: 10500;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.haydar-wl-overlay.is-open { opacity: 1; visibility: visible; }

.haydar-wl-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 420px;
  max-width: 92vw;
  background: #FAF6EF;
  z-index: 10501;
  box-shadow: -8px 0 40px rgba(23, 19, 15, .25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.65,0,.35,1);
}
.haydar-wl-drawer.is-open { transform: translateX(0); }

.haydar-wl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 28px 22px;
  border-bottom: 1px solid rgba(23, 19, 15, .08);
  flex: 0 0 auto;
}
.haydar-wl-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: .4px;
  color: #17130F;
  margin: 0;
}
.haydar-wl-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: #17130F;
  opacity: .55;
  transition: opacity .2s ease;
  padding: 4px 6px;
}
.haydar-wl-close:hover { opacity: 1; }

.haydar-wl-body { flex: 1; overflow-y: auto; padding: 6px 28px; }

.haydar-wl-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(23, 19, 15, .07);
}
.haydar-wl-item-media {
  width: 78px;
  height: 98px;
  flex: 0 0 78px;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(135deg, #CBA968, #6E5138);
}
.haydar-wl-item-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.haydar-wl-item-info { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.haydar-wl-oos {
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9a3b3b;
  margin-bottom: 6px;
  display: inline-block;
}
.haydar-wl-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  color: #17130F;
  margin: 0 0 6px;
  line-height: 1.3;
}
.haydar-wl-item-title a { color: inherit; text-decoration: none; }
.haydar-wl-item-title a:hover { color: #CBA968; }
.haydar-wl-item-price {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #6E5138;
  margin: 0 0 12px;
}
.haydar-wl-item-price ins { text-decoration: none; }
.haydar-wl-item-price del { opacity: .5; margin-right: 6px; }
.haydar-wl-item-actions { display: flex; align-items: center; gap: 16px; }
.haydar-wl-item-view {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #17130F;
  text-decoration: none;
  border-bottom: 1px solid #CBA968;
  padding-bottom: 2px;
}
.haydar-wl-item-view:hover { color: #6E5138; }
.haydar-wl-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #6E5138;
  opacity: .6;
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  letter-spacing: .5px;
  text-decoration: underline;
  padding: 0;
  transition: opacity .2s ease, color .2s ease;
}
.haydar-wl-item-remove:hover { opacity: 1; color: #8a2f2f; }

.haydar-wl-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 24px;
  color: #6E5138;
  height: 100%;
}
.haydar-wl-empty svg { width: 42px; height: 42px; stroke: #CBA968; fill: none; stroke-width: 1.2; margin-bottom: 20px; }
.haydar-wl-empty p { font-family: 'Poppins', sans-serif; font-size: 13.5px; margin: 0 0 24px; }
.haydar-wl-empty a {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #17130F;
  border: 1px solid #17130F;
  padding: 13px 28px;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}
.haydar-wl-empty a:hover { background: #17130F; color: #FAF6EF; }

.haydar-wl-foot {
  padding: 16px 28px 26px;
  border-top: 1px solid rgba(23, 19, 15, .08);
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  letter-spacing: .3px;
  color: #6E5138;
  text-align: center;
  flex: 0 0 auto;
}

body.haydar-wl-locked { overflow: hidden; }

@media (max-width: 480px) {
  .haydar-wl-drawer { width: 100vw; max-width: 100vw; }
}

/* ===== Heart button on product cards (shop grid + related products) ===== */
.hy-shop-card-media { position: relative; }
.hy-shop-wishlist-btn {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 3 !important;
  box-sizing: border-box !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(250, 246, 239, .92) !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: transform .2s ease, background .2s ease;
}
.hy-shop-wishlist-btn:hover { transform: scale(1.08); background: #FAF6EF; }
.hy-shop-wishlist-btn svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  fill: none;
  stroke: #17130F;
  stroke-width: 1.6;
  transition: fill .2s ease, stroke .2s ease;
}
.hy-shop-wishlist-btn.is-active svg { fill: #CBA968; stroke: #CBA968; }

/* ===== Wishlist toggle on single product page ===== */
.haydar-wishlist-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  margin-left: 10px;
  background: none;
  border: 1px solid rgba(23, 19, 15, .25);
  padding: 13px 22px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #17130F;
  transition: border-color .2s ease, color .2s ease;
  vertical-align: middle;
}
.haydar-wishlist-toggle:hover { border-color: #CBA968; color: #6E5138; }
.haydar-wishlist-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: 0 0 auto; }
.haydar-wishlist-toggle.is-active { border-color: #CBA968; color: #6E5138; }
.haydar-wishlist-toggle.is-active svg { fill: #CBA968; stroke: #CBA968; }
