.products-section--static .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.products-section--static .product-card {
  flex: initial;
}

@media (max-width: 991px) {
  .products-section--static .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .products-section--static .products-grid {
    grid-template-columns: 1fr;
  }
}

.fav-notice {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(10px);
  background: #101819;
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity .35s ease,
    transform .35s ease,
    visibility .35s ease;
}

.fav-notice.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.product-card__image {
  position: relative;
}

.product-card__remove-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 28px;
  height: 28px;
  background: #101819;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.product-card__remove-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  min-height: 28px;
  padding: 0 10px;
  background: #101819;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card__remove-fav span {
  font-size: 22px;
  line-height: 1;
}

.product-card__remove-fav small {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}





.page-template-page-ulubione .product-card__actions {
  display: flex !important;
  width: 100% !important;
  margin: 12px 0 -16px !important;
}

.page-template-page-ulubione .product-card__actions > a {
  flex: 0 0 50% !important;
  width: 50% !important;
  max-width: 50% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.page-template-page-ulubione .product-card__cart {
  padding: 0 6px !important;
  justify-content: center !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

.page-template-page-ulubione .product-card__remove-fav {
  position: static !important;
  inset: auto !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 6px !important;
  background: #101819 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  text-decoration: none !important;
}

.page-template-page-ulubione .product-card__remove-fav span {
  font-size: 18px !important;
  line-height: 1 !important;
}

.page-template-page-ulubione .product-card__remove-fav small {
  font-size: 9px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}


.product-card__actions--fav-page {
  display: flex !important;
  width: 100% !important;
}

.product-card__actions--fav-page > a {
  flex: 0 0 50% !important;
  width: 50% !important;
  max-width: 50% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.product-card__cart-favpage {
  height: 40px;
  min-height: 40px;
  padding: 0 6px;
  background: #8d9492;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.product-card__actions--fav-page .product-card__remove-fav {
  position: static !important;
  inset: auto !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 6px !important;
  background: #101819 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  text-decoration: none !important;
}

.product-card__actions--fav-page .product-card__remove-fav span {
  font-size: 18px;
  line-height: 1;
}

.product-card__actions--fav-page .product-card__remove-fav small {
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}
