h1 a {
  color: black;
}

h1 a:hover {
  color: black;
}

.shop-category-nav {
  margin: 2rem 0 1rem;
}

.shop-category-nav ul {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.shop-category-nav__item a {
  padding: 6px 14px;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
}

.shop-category-nav__item a:hover {
  background: #eee;
}

/* Ingen hover/active-effekt på knappen */
.nps-fav-btn,
.nps-fav-btn:hover,
.nps-fav-btn:focus,
.nps-fav-btn:active {
  background: rgba(255,255,255,.9);
  box-shadow: none;
  outline: none;
}

/* Endast ikonen reagerar */
.nps-fav-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #999;
  stroke-width: 1.8;
  stroke-dasharray: 60;
  stroke-dashoffset: 0;
  transition:
    stroke .15s ease,
    fill .15s ease,
    transform .15s ease,
    stroke-dashoffset .25s ease;
}

/* Hover – bara konturen */
.nps-fav-btn:hover .nps-fav-icon {
  stroke: #e11d48;
}

/* Aktiv: ritas + fylls + pop */
.nps-fav-btn.is-active .nps-fav-icon {
  stroke: #e11d48;
  fill: #e11d48;
  stroke-dashoffset: 60;
  animation: nps-heart-pop .25s ease;
}

/* Klick-feedback */
.nps-fav-btn:active .nps-fav-icon {
  transform: scale(0.95);
}

.woocommerce ul.products li.product { position: relative; }

/* Hård reset så temat inte tar över */
.nps-fav-btn--loop{
  all: unset;               /* tar bort theme-stilar */
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* Ingen bakgrund, varken hover/focus/active */
.nps-fav-btn--loop:hover,
.nps-fav-btn--loop:active,
.nps-fav-btn--loop:focus{
  background: transparent !important;
  box-shadow: none !important;
}

/* Om du vill ha tillgänglig fokus-ring, använd denna istället för bakgrund */
.nps-fav-btn--loop:focus-visible{
  outline: 2px solid rgba(225,29,72,.35);
  outline-offset: 3px;
  border-radius: 999px;
}

@keyframes nps-heart-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

