/* Wishlist page: catalog cards instead of WPC Smart Wishlist table */

.kwz-wishlist {
  margin: 8px 0 24px;
}

.kwz-wishlist .woosw-items {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 -8px;
  padding: 0;
}

.kwz-wishlist .woosw-items[hidden] {
  display: none;
}

.kwz-wishlist .woosw-item {
  position: relative;
  list-style: none;
  padding: 10px 8px;
}

.kwz-wishlist .pxl-products-content-list-view {
  display: none !important;
}

.kwz-wishlist .pxl-shop-woosmart-wrap .woosw-btn {
  display: none !important;
}

/* Always-visible remove control */
.kwz-wishlist .woosw-item--remove {
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 4;
  width: 32px !important;
  height: 32px;
  flex: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(14, 8, 30, 0.12);
}

.kwz-wishlist .woosw-item--remove span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px;
  cursor: pointer;
}

.kwz-wishlist .woosw-item--remove span:before {
  font-size: 14px;
  color: #6b6680;
}

.kwz-wishlist .woosw-item--remove span:hover:before {
  color: #cc6055;
}

/* Keep 2 columns on small screens */
@media (max-width: 575px) {
  .kwz-wishlist .products.columns-3 > li.product,
  .kwz-wishlist .products.columns-4 > li.product {
    max-width: 50%;
    width: 50%;
    flex: 0 0 50%;
  }
}

body.kwz-account .kwz-wishlist .products.columns-3 > li.product {
  max-width: 33.3333%;
  width: 33.3333%;
  flex: 0 0 33.3333%;
}

@media (max-width: 991px) {
  body.kwz-account .kwz-wishlist .products.columns-3 > li.product {
    max-width: 50%;
    width: 50%;
    flex: 0 0 50%;
  }
}

.kwz-wishlist__empty {
  padding: 48px 16px 56px;
  text-align: center;
}

.kwz-wishlist__empty[hidden] {
  display: none;
}

.kwz-wishlist__empty-title {
  margin: 0 0 8px;
  color: #0e081e;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.kwz-wishlist__empty-text {
  margin: 0 0 22px;
  color: #6b6680;
  font-size: 16px;
}

.kwz-wishlist__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--primary-color, #7c58d3);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}

.kwz-wishlist__cta:hover {
  background: var(--additional01-color, #ff47a2);
  color: #fff !important;
}

/* Hide leftover plugin chrome if Elementor/page still outputs it */
.pxl-wishlist-page .woosw-actions,
body.kwz-account .woosw-actions {
  display: none;
}
