/* ══════════════════════════════════════════
   UNQ WISHLIST — STYLESHEET
══════════════════════════════════════════ */

/* ── OVERLAY when drawer is open ── */
body.unq-drawer-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9998;
}

/* ── DRAWER BASE ── */
.unq-side-popup {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  transition: right .35s cubic-bezier(.4,0,.2,1);
}
.unq-side-popup.open {
  right: 0;
}

/* ── DRAWER HEADER ── */
.unq-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  flex-shrink: 0;
}
.unq-drawer-header .fa-xmark {
  font-size: 18px;
  opacity: .85;
  transition: opacity .2s;
}
.unq-drawer-header .fa-xmark:hover { opacity: 1; }

/* ── DRAWER BODY ── */
.unq-side-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}
.unq-side-body.p-0 { padding: 0; }

/* ════════════════════════════════
   WISHLIST ITEMS
════════════════════════════════ */
.unq-wish-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  animation: unq-fade-in .3s ease;
}
.unq-wish-item:last-child { border-bottom: none; }

.unq-wish-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}
.unq-wish-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unq-wish-details { flex: 1; min-width: 0; }

.unq-wish-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.4;
}
.unq-wish-title a { color: #253d4e; text-decoration: none; }
.unq-wish-title a:hover { color: #3BB77E; }

.unq-wish-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.unq-wish-new,
.unq-wish-pricing ins {
  font-weight: 700;
  color: #3BB77E;
  font-size: 14px;
  text-decoration: none;
}
.unq-wish-old,
.unq-wish-pricing del {
  color: #aaa;
  font-size: 12px;
  text-decoration: line-through;
}
/* WooCommerce price_html support */
.unq-wish-pricing .woocommerce-Price-amount { color: #3BB77E; font-weight: 700; font-size: 14px; }

.unq-wish-cart-btn {
  background: #3BB77E;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-right: 6px;
}
.unq-wish-cart-btn:hover { background: #2ea068; transform: scale(1.03); }
.unq-wish-cart-btn:disabled { background: #aaa; cursor: not-allowed; transform: none; }

.unq-wish-remove-icon {
  background: none;
  border: 1px solid #eee;
  color: #e74c3c;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  transition: background .2s, color .2s;
  vertical-align: middle;
}


/* Empty state */
.unq-empty-wishlist {
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
}
.unq-empty-wishlist .fa-heart {
  font-size: 48px;
  color: #eee;
  display: block;
  margin-bottom: 12px;
}

/* ════════════════════════════════
   MINI CART ITEMS
════════════════════════════════ */
.crt-single-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  animation: unq-fade-in .3s ease;
}
.crt-single-item:last-child { border-bottom: none; }

.crt-img-box {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}
.crt-img-box img { width: 100%; height: 100%; object-fit: cover; }

.crt-details { flex: 1; min-width: 0; }

.crt-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crt-title a { color: #253d4e; text-decoration: none; }
.crt-title a:hover { color: #3BB77E; }

.crt-meta { font-size: 13px; color: #666; }
.crt-price { font-weight: 700; color: #253d4e; }

.crt-remove-btn {
  background: none;
  border: 1px solid #eee;
  color: #e74c3c;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.crt-remove-btn:hover { background: #e74c3c; color: #fff; border-color: #e74c3c; }

/* Cart total row */
.mini-cart-total-row {
  padding: 14px 16px;
  border-top: 2px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
}

/* ════════════════════════════════
   WISHLIST BADGE (header icon)
════════════════════════════════ */
.unq-action-item { position: relative; cursor: pointer; }
.unq-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #3BB77E;
  color: #fff;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 3px;
}

/* ════════════════════════════════
   SINGLE PRODUCT PAGE BUTTON
════════════════════════════════ */
.unq-single-wishlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 20px;
  background: #fff;
  border: 2px solid #3BB77E;
  color: #3BB77E;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  
  justify-content: center;
}

.unq-single-wishlist-btn i { font-size: 15px; }

/* ════════════════════════════════
   TOAST NOTIFICATION
════════════════════════════════ */
.unq-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #253d4e;
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  z-index: 99999;
  opacity: 0;
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  pointer-events: none;
}
.unq-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.unq-toast-error { background: #e74c3c; }
.unq-toast-success { background: #3BB77E; }

/* ════════════════════════════════
   ANIMATION
════════════════════════════════ */
@keyframes unq-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .unq-side-popup { width: 100vw; right: -100vw; }
}


.dz-wishicon .dz-heart-fill{
    display:none;
}

.dz-wishicon.active .dz-heart{
    display:none;
}

.dz-wishicon.active .dz-heart-fill{
    display:inline-block;
}

.unq-loop-wishlist .dz-heart-fill{
    display:none;
}

.unq-loop-wishlist.active .dz-heart{
    display:none;
}

.unq-loop-wishlist.active .dz-heart-fill{
    display:inline-block;
}