.elo-wishlist-heart {
  margin-top: 8px;
  border: 0;
  background: transparent !important;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none !important;
}

.elo-wishlist-heart .elo-heart-icon {
  line-height: 0;
  display: inline-block;
  color: #999 !important;
  transition: color 0.2s ease;
}

.elo-wishlist-heart .elo-heart-icon .elo-heart-svg {
  display: block;
  vertical-align: middle;
}

.elo-wishlist-heart .elo-heart-icon path {
  fill: currentColor !important;
}

.elo-wishlist-heart.is-active .elo-heart-icon,
.elo-wishlist-heart[data-elo-active="1"] .elo-heart-icon {
  color: var(--elo-wishlist-heart-active,
      var(--wp--preset--color--primary, var(--e-global-color-primary, var(--global-palette1, var(--ast-global-color-0, #e32636))))) !important;
}

.elo-wishlist-heart.is-active,
.elo-wishlist-heart[data-elo-active="1"] {
  opacity: 1;
}

/* ========== Lista de desejos [elo_wishlist] — mobile-first, cards ========== */
.elo-wishlist-page {
  --elo-wl-radius: 10px;
  --elo-wl-radius-sm: 10px;
  --elo-wl-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
  --elo-wl-shadow-hover: 0 8px 28px rgba(15, 23, 42, 0.1);
  --elo-wl-accent: var(--elo-wishlist-color, #e32636);
  --elo-wl-text: #0f172a;
  --elo-wl-muted: #64748b;
  --elo-wl-border: #e2e8f0;
  --elo-wl-bg: #f8fafc;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.elo-wishlist-heading {
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  padding: 0;
  color: var(--elo-wl-text);
}

.elo-wishlist-empty {
  margin: 0;
  padding: 2rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--elo-wl-muted);
  text-align: center;
  background: #fff;
  border-radius: var(--elo-wl-radius);
  border: 1px dashed var(--elo-wl-border);
}

.elo-wishlist-products {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  background: transparent;
  border: none;
}

.elo-wishlist-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 1.1rem;
  background: #fff;
  border-radius: var(--elo-wl-radius);
  border: 1px solid var(--elo-wl-border);
  box-shadow: var(--elo-wl-shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.elo-wishlist-item:hover {
  box-shadow: var(--elo-wl-shadow-hover);
  border-color: #cbd5e1;
}

@media (min-width: 640px) {
  .elo-wishlist-item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1.1rem 1.25rem;
  }
}

.elo-wishlist-item--busy {
  opacity: 0.6;
  pointer-events: none;
}

.elo-wishlist-link {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
  .elo-wishlist-link {
    align-items: center;
    flex: 1 1 220px;
  }
}

.elo-wishlist-thumb {
  flex-shrink: 0;
  line-height: 0;
  border-radius: var(--elo-wl-radius-sm);
  overflow: hidden;
  background: var(--elo-wl-bg);
  box-shadow: inset 0 0 0 1px var(--elo-wl-border);
}

.elo-wishlist-thumb .elo-wishlist-img,
.elo-wishlist-thumb img {
  width: 4.5rem !important;
  height: 4.5rem !important;
  max-width: 4.5rem !important;
  object-fit: cover;
  display: block;
}

@media (min-width: 480px) {

  .elo-wishlist-thumb .elo-wishlist-img,
  .elo-wishlist-thumb img {
    width: 5.25rem !important;
    height: 5.25rem !important;
    max-width: 5.25rem !important;
  }
}

.elo-wishlist-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  flex: 1;
}

.elo-wishlist-title {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--elo-wl-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .elo-wishlist-title {
    font-size: 1rem;
    -webkit-line-clamp: 2;
  }
}

.elo-wishlist-link:hover .elo-wishlist-title {
  color: var(--elo-wl-accent);
}

.elo-wishlist-price {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--elo-wl-text);
}

/* Preço promocional (de/por): evita line-through “no topo” do texto */
.elo-wishlist-price del {
  display: inline-block;
  position: relative;
  margin-right: 0.4rem;
  padding: 0 0.05em;
  color: var(--elo-wl-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  text-decoration: none;
  vertical-align: baseline;
}

.elo-wishlist-price del::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  top: 50%;
  height: max(3px, 0.14em);
  background: #1e293b;
  opacity: 1;
  border-radius: 2px;
  transform: translateY(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.elo-wishlist-price ins {
  text-decoration: none;
  font-weight: 700;
  color: var(--elo-wl-accent);
  vertical-align: baseline;
}

.elo-wishlist-price ins .woocommerce-Price-amount,
.elo-wishlist-price .amount {
  font-weight: 700;
}

.elo-wishlist-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: stretch;
  gap: 0.5rem;
  width: 100%;
  padding-top: 0.25rem;
  border-top: 1px solid var(--elo-wl-border);
}

@media (min-width: 640px) {
  .elo-wishlist-actions {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    padding-top: 0;
    margin-left: auto;
    border-top: none;
    justify-content: flex-end;
    max-width: 100%;
  }
}

.elo-wishlist-buy {
  flex: 1 1 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border-radius: 5px;
  border: 1px solid rgba(101, 163, 13, 0.45);
  background: linear-gradient(165deg, #d9f99d 0%, #a3e635 45%, #84cc16 100%);
  color: #14532d !important;
  box-shadow: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.elo-wishlist-buy:hover {
  filter: brightness(1.05);
  box-shadow: none;
  transform: translateY(-1px);
  color: #052e16 !important;
}

.elo-wishlist-buy--outline {
  color: #fff !important;
  border: 1px solid color-mix(in srgb, var(--elo-wl-accent) 40%, #000);
  box-shadow: none;
  background: linear-gradient(173deg, color-mix(in srgb, var(--elo-wl-accent) 70%, #fff) 0%, var(--elo-wl-accent) 45%, var(--elo-wl-accent) 300% 100%);
}

.elo-wishlist-buy--outline:hover {
  color: #fff !important;
  transform: translateY(-1px);
  background: linear-gradient(173deg, color-mix(in srgb, var(--elo-wl-accent) 60%, #fff) 0%, var(--elo-wl-accent) 45%, var(--elo-wl-accent) 300% 100%);
}

@media (min-width: 640px) {
  .elo-wishlist-buy {
    flex: 0 1 auto;
    min-width: 6.5rem;
  }
}

.elo-wishlist-remove {
  flex: 1 1 auto;
  min-height: 44px;
  margin: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid #b91c1c;
  border-radius: 5px;
  background: linear-gradient(165deg, #f87171 0%, #ef4444 45%, #dc2626 100%);
  color: #fff !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.elo-wishlist-remove:hover {
  filter: brightness(1.06);
  border-color: #991b1b;
  box-shadow: none;
  transform: translateY(-1px);
  color: #fff !important;
}

.elo-wishlist-remove:disabled {
  opacity: 0.55;
  cursor: wait;
}

@media (min-width: 640px) {
  .elo-wishlist-remove {
    flex: 0 1 auto;
    min-width: 5.5rem;
  }
}

/* Botão Comparar (lista + vitrine) */
.elo-compare-btn {
  flex: 1 1 auto;
  min-height: 44px;
  margin: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.elo-compare-btn:hover {
  border-color: #93c5fd;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}

.elo-compare-btn.is-in-compare {
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #3b82f6;
  color: #1e40af;
}

.elo-compare-btn--compact {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  min-height: 44px;
}

@media (min-width: 640px) {
  .elo-compare-btn {
    flex: 0 1 auto;
    min-width: 5.5rem;
  }

  .elo-compare-btn--compact {
    min-height: 44px;
  }
}

.elo-compare-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  .elo-wishlist-item,
  .elo-wishlist-buy,
  .elo-compare-btn,
  .elo-compare-col,
  .elo-compare-buy.button {
    transition: none;
  }

  .elo-wishlist-buy:hover,
  .elo-compare-btn:hover,
  .elo-compare-buy.button:hover {
    transform: none;
  }
}

/* ========== Página [elo_compare] ========== */
.elo-compare-page {
  --elo-wl-accent: var(--elo-wishlist-color, #e32636);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.25rem 0 1.5rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.elo-compare-heading {
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: #0f172a;
}

.elo-compare-empty {
  margin: 0;
  padding: 2rem 1.25rem;
  font-size: 0.9375rem;
  color: #64748b;
  text-align: center;
  background: #fff;
  border-radius: 14px;
  border: 1px dashed #e2e8f0;
}

.elo-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

@media (min-width: 480px) {
  .elo-compare-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.15rem;
  }
}

.elo-compare-col {
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.elo-compare-col:hover {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.elo-compare-col--busy {
  opacity: 0.55;
  pointer-events: none;
}

.elo-compare-remove {
  align-self: flex-end;
  margin: 0;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.elo-compare-remove:hover {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.elo-compare-thumb {
  line-height: 0;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}

.elo-compare-thumb img,
.elo-compare-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.elo-compare-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.elo-compare-title:hover {
  color: var(--elo-wl-accent);
}

.elo-compare-price {
  font-size: 0.875rem;
  line-height: 1.45;
}

.elo-compare-price del {
  display: inline-block;
  position: relative;
  margin-right: 0.4rem;
  padding: 0 0.05em;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 400;
  text-decoration: none;
  vertical-align: baseline;
}

.elo-compare-price del::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  top: 50%;
  height: max(3px, 0.14em);
  background: #1e293b;
  opacity: 1;
  border-radius: 2px;
  transform: translateY(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.elo-compare-price ins {
  text-decoration: none;
  font-weight: 700;
  color: var(--elo-wl-accent);
  vertical-align: baseline;
}

.elo-compare-buy.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  background: var(--elo-wl-accent);
  background: linear-gradient(165deg,
      color-mix(in srgb, var(--elo-wl-accent) 82%, #fff) 0%,
      var(--elo-wl-accent) 100%);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--elo-wl-accent) 45%, transparent);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.elo-compare-buy.button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--elo-wl-accent) 50%, transparent);
  color: #fff !important;
}

.elo-compare-buy.button.elo-compare-buy--outline {
  background: #fff;
  color: #0f172a !important;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.elo-compare-buy.button.elo-compare-buy--outline:hover {
  filter: none;
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}