/* =========================================
   BASE LIKE BUTTON
========================================= */

.kfy-like-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.kfy-like-btn:hover {
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.kfy-like-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* icon inside circle button */
.kfy-like-btn .kfy-like-icon {
  font-size: 18px;
  line-height: 1;
  color: #999;
  transition: color 0.2s ease;
}

/* liked state for motif cards */
.kfy-like-btn.is-liked {
  border-color: #e53935;
  box-shadow: 0 2px 10px rgba(229, 57, 53, 0.18);
}

.kfy-like-btn.is-liked .kfy-like-icon {
  color: #e53935;
}

/* =========================================
   MINIATURE (HOME / CATEGORY / MOTIF CARDS)
========================================= */

.thumbnail-container,
.product-miniature__image-container,
.product-miniature .product-thumbnail {
  position: relative;
}

.product-miniature .kfy-like-mini {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

/* =========================================
   PRODUCT DETAIL LIKE
========================================= */

.kfy-like-product {
  display: inline-block;
  cursor: pointer;
}

.kfy-like-product .kfy-like-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.kfy-like-product .kfy-heart {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  display: inline-block !important;
  vertical-align: middle;
  flex: 0 0 18px !important;
  color: #999 !important;
}

.kfy-like-product .kfy-heart path {
  fill: currentColor !important;
  stroke: none !important;
}

.kfy-like-product.js-kfy-like-btn.is-liked .kfy-heart {
  color: #e53935 !important;
}
.kfy-toast {
  position: fixed;
  top: 30px;
  left: 40%;
  background: #333;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.kfy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.kfy-toast-error {
  background: #e53935;
}

.kfy-toast-success {
  background: #2e7d32;
}
