.custom-product-card {
  width: 100%;
  list-style: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  transition: transform 0.2s ease-in-out;
}

.product-card__content-link {
  display: flex;
  flex-direction: column;

  text-decoration: none;
  color: inherit;
}

.product-card .product-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

.product-card .product-card__media-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-card .product-card-cart-wrapper {
  position: absolute;
  top: 11px;
  left: 3px;
  z-index: 12;
}

.product-card .product-card-cart-feedback {
  position: absolute;
  top: 42px;
  left: 0;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 18, 24, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

.product-card .product-card-cart-wrapper.is-adding .product-card-cart-feedback,
.product-card .product-card-cart-wrapper.is-added .product-card-cart-feedback {
  opacity: 1;
  transform: translateY(0);
}

.product-card .product-card-cart-wrapper.is-adding .product-card-cart-feedback {
  background: rgba(15, 18, 24, 0.9);
}

.product-card .product-card-cart-wrapper.is-added .product-card-cart-feedback {
  background: #1f8f45;
}

.product-card .product-card-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.product-card .product-card-cart-btn:hover {
  color: #000;
  transform: translateY(-1px);
}

.product-card .product-card-cart-wrapper.is-adding .product-card-cart-btn,
.product-card .product-card-cart-wrapper.is-added .product-card-cart-btn {
  transform: none;
}

.product-card .product-card-cart-wrapper.is-adding .product-card-cart-icon,
.product-card .product-card-cart-wrapper.is-added .product-card-cart-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.product-card .product-card-cart-wrapper.is-adding .product-card-cart-icon {
  color: #000;
}

.product-card .product-card-cart-wrapper.is-added .product-card-cart-icon {
  color: #1f8f45;
}

.product-card .product-card-cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 1;
}

.product-card .product-card-cart-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card .product-card-cart-wrapper.is-added .product-card-cart-icon img {
  opacity: 0;
}

.product-card
  .product-card-cart-wrapper.is-added
  .product-card-cart-icon::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .product-card-cart-icon__plus {
  position: absolute;
  right: -5px;
  top: -4px;
  font-size: 10px;
  font-weight: 600;
  background: #fff;
  line-height: 1;
}

.product-card
  .product-card-cart-wrapper.is-added
  .product-card-cart-icon__plus {
  opacity: 0;
}

.product-card .smort-heart-wrapper {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 12;
}

.product-card .smort-heart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.product-card .smort-heart-icon {
  width: 21px;
  height: 21px;
}

.product-card .smort-heart-btn.active .smort-heart-icon path {
  fill: var(--accentColor);
  stroke: var(--accentColor);
}

.product-card .product-image-container picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-card .product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  margin: 0;
  background-color: #fff;
  border: 0;
}

.product-card .product-info {
  width: 100%;
  padding: 8px 2px 0;
}

.product-card .title-stock-div {
  text-align: left;
}

.product-card h2.woocommerce-loop-product__title {
  font-size: 16px;
  font-weight: 600 !important;
  text-transform: none;
  margin: 0 0 6px;
  max-width: 100% !important;
  color: #000;
  line-height: 1.3;
  height: auto;
  font-family: "CustomHeadingFont";
}

.product-card .archive-product-excerpt {
  margin: 0 0 10px;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.45;
}

.product-card .archive-product-rating {
  display: flex;
  align-items: center;
  min-height: 16px;
  margin: 0 0 8px;
}

.product-card .archive-product-rating .star-rating {
  display: inline-block !important;
  float: none;
  margin: 0;
  font-size: 13px;
  letter-spacing: 1px;
}

.product-card .archive-product-rating .star-rating::before,
.product-card .archive-product-rating .star-rating span,
.product-card .archive-product-rating .star-rating span::before {
  color: #ff8a00;
}

.product-card .stock-status {
  display: flex;
  align-items: center;
  justify-content: left;
  font-size: 12px;
  margin-bottom: 12px;
  color: var(--textColor);
}

.product-card .stock-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
}

.product-card .stock-green .stock-dot {
  background-color: #00cc44;
}

.product-card .stock-yellow .stock-dot {
  background-color: #ffcc00;
}

.product-card .stock-red .stock-dot {
  background-color: #ff3333;
}

.product-card .price,
.woocommerce ul.products li.product .price {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #000 !important;
  margin-bottom: 0;
  text-align: left;
  font-family: "CustomHeadingFont";
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card .tax-label {
  display: none;
}

.product-card .price del,
.woocommerce ul.products li.product .product-card .price del,
.woocommerce-page ul.products li.product .product-card .price del,
.woocommerce-page ul.products li.product .product-card .price del {
  color: #8b8b8b !important;
  font-size: inherit;
  opacity: 1;
  text-decoration: none !important;
  position: relative;
}

.product-card .price del bdi,
.woocommerce ul.products li.product .product-card .price del bdi,
.woocommerce-page ul.products li.product .product-card .price del bdi {
  color: #8b8b8b !important;
  text-decoration: none !important;
}

.product-card .price del::after,
.woocommerce ul.products li.product .product-card .price del::after,
.woocommerce-page ul.products li.product .product-card .price del::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background-color: #8b8b8b;
  transform: translateY(-50%);
  pointer-events: none;
}

.product-card .price del bdi::after,
.woocommerce ul.products li.product .product-card .price del bdi::after,
.woocommerce-page ul.products li.product .product-card .price del bdi::after {
  content: none !important;
  display: none !important;
}

.product-card .price ins,
.product-card .price ins bdi,
.woocommerce ul.products li.product .product-card .price ins,
.woocommerce ul.products li.product .product-card .price ins bdi,
.woocommerce-page ul.products li.product .product-card .price ins,
.woocommerce-page ul.products li.product .product-card .price ins bdi {
  color: #d63a3a !important;
  text-decoration: none;
}

.product-card .discount-percentage-badge {
  left: 10px;
  bottom: 10px;
  background: #fff;
  color: #ff4a4a;
  border: 1px solid #ff8b8b;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  letter-spacing: 0;
  line-height: 1;
}

.product-card .varldsnyhet-badge {
  top: auto;
  left: 14px;

  bottom: 14px;
  background: #fff;
  color: #5a5a5a;
  border: 1px dashed #b7b7b7;
  border-radius: 9999px;
  font-size: 12px;
  padding: 4px 10px;
  line-height: 1;
  display: none;
}

@media (max-width: 960px) {
  .product-card .product-image-container {
    padding: 10px;
  }

  .product-card .product-card-cart-wrapper {
    top: 10px;
    left: 3px;
  }

  .product-card .product-card-cart-feedback {
    top: 40px;
    padding: 5px 9px;
    font-size: 10px;
  }

  .product-card h2.woocommerce-loop-product__title {
    font-size: 14px;
  }

  .product-card .price {
    font-size: 14px;
  }

  .product-card:hover {
    transform: none;
  }
}
