.ewf-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ewf-heart:hover,
.ewf-heart:focus {
  opacity: 0.8;
  background: transparent !important;
  box-shadow: none !important;
}

.ewf-heart.is-favorite {
  transform: scale(1.05);
  background: transparent;
}

.ewf-heart.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.ewf-heart__icon {
  width: 30px;
  height: 30px;
  display: inline-block;
  position: relative;
}

.ewf-heart__icon::before {
  content: "❤";
  position: absolute;
  inset: 0;
  text-align: center;
  line-height: 18px;
  color: #fff;
  font-size: 18px;
}

.ewf-heart__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ewf-empty {
  padding: 20px 0;
  color: #666;
}

.ewf-heart-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ewf-heart-menu:hover,
.ewf-heart-menu:focus {
  opacity: 0.8;
  background: transparent !important;
  box-shadow: none !important;
}

.ewf-heart-menu__icon {
    font-size: 47px;
  line-height: 1;
}

.ewf-heart-menu__count {
    background: #46bea7;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 100%;
    color: var(--items-indicator-text-color, #fff);
    display: block;
    font-size: 15px;
    height: 1.6em;
    inset-inline-end: -.7em;
    line-height: 1.5em;
    min-width: 1.6em;
    position: absolute;
    text-align: center;
    top: -.7em;
}

/* Inline SVG heart styling (preserves existing sizing tweaks) */
.ewf-heart__icon::before {
  content: none !important;
}
.ewf-heart.is-favorite .ewf-heart__icon svg {
  color: red;
  width: 35px;
  height: 35px;
}

.ewf-heart__icon svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
  color: #46bea7;
}

.ewf-heart-menu__icon svg {
  width: 43px;
  height: 43px;
  display: block;
  fill: currentColor;
  color: #ffffff;
}

.ewf-heart.is-favorite {
    background: transparent;
}

@media (max-width: 768px) {
  .ewf-heart-menu__icon svg {
    width: 32px;
    height: 32px;
  }
}

/* Badges for woo_badge shortcode */
.ewf-badges {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.ewf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ewf-badge--sale {
  background: #e53935;
}

.ewf-badge--new {
  background: #46bea7;
}

/* Price decimals superscript */
.ewf-price-decimals {
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 1px;
  line-height: 1;
}
