.ws-wishlist-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  background: #fff;
  color: #222;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
}

.ws-wishlist-button:hover,
.ws-wishlist-button.is-added {
  border-color: #c62828;
  color: #c62828;
}

.ws-wishlist-button:disabled,
.ws-wishlist-remove:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ws-wishlist-button__icon {
  font-size: 18px;
  line-height: 1;
}

.ws-wishlist-loop-button {
  margin-top: 8px;
}

.ws-wishlist-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.ws-wishlist-link__icon {
  color: #c62828;
  font-size: 18px;
  line-height: 1;
}

.ws-wishlist-link__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.ws-wishlist {
  width: 100%;
  color: #333;
}

.ws-wishlist__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 30px 0 42px;
  text-align: center;
}

.ws-wishlist__heart {
  width: 76px;
  height: 76px;
  color: #444;
}

.ws-wishlist__heart svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.ws-wishlist__heading {
  margin: 0;
  color: #404040;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.ws-wishlist-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #aeb6bd;
  cursor: pointer;
  transition: color 0.18s ease;
}

.ws-wishlist-remove:hover {
  color: #c62828;
}

.ws-wishlist-remove svg {
  display: block;
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.ws-wishlist__empty {
  margin: 0;
  padding: 24px;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  background: #fff;
  text-align: center;
}

.ws-wishlist__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.ws-wishlist__table th,
.ws-wishlist__table td {
  border: 0;
  border-bottom: 1px solid #d7d7d7;
  padding: 30px 18px;
  vertical-align: middle;
}

.ws-wishlist__table th {
  padding-top: 0;
  padding-bottom: 18px;
  background: transparent;
  color: #222;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.ws-wishlist__table td {
  color: #333;
  font-size: 16px;
  line-height: 1.45;
}

.ws-wishlist__remove-column,
.ws-wishlist__item-remove {
  width: 42px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center;
}

.ws-wishlist__item-product {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 38%;
}

.ws-wishlist__image {
  flex: 0 0 64px;
  width: 64px;
  height: 78px;
  background: #f5f5f5;
}

.ws-wishlist__image a,
.ws-wishlist__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.ws-wishlist__image img {
  object-fit: cover;
}

.ws-wishlist__product-name {
  color: #222;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.ws-wishlist__product-name:hover {
  color: #4e9a95;
}

.ws-wishlist__product-text {
  min-width: 0;
}

.ws-wishlist__variation-meta {
  margin-top: 5px;
  color: #777;
  font-size: 13px;
  line-height: 1.35;
}

.ws-wishlist__variation-meta p {
  margin: 0;
}

.ws-wishlist__item-price,
.ws-wishlist__item-stock-status {
  width: 18%;
  text-align: center;
}

.ws-wishlist__item-price del {
  margin-right: 4px;
  color: #222;
  opacity: 1;
}

.ws-wishlist__item-price ins {
  background: #fff5a6;
  color: #222;
  text-decoration: none;
}

.ws-wishlist__stock-status {
  color: #222;
}

.ws-wishlist__stock-status.is-out-of-stock {
  color: #a33;
}

.ws-wishlist__item-add-to-cart {
  width: 24%;
  text-align: center;
}

.ws-wishlist__item-add-to-cart .button,
.ws-wishlist__item-add-to-cart a.button,
.ws-wishlist__item-add-to-cart button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 34px;
  padding: 7px 22px;
  border: 0;
  border-radius: 999px;
  background: #559d98;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.ws-wishlist__item-add-to-cart .button:hover,
.ws-wishlist__item-add-to-cart a.button:hover,
.ws-wishlist__item-add-to-cart button.button:hover {
  background: #3f8681;
  color: #fff;
}

@media (max-width: 768px) {
  .ws-wishlist__header {
    margin: 20px 0 28px;
  }

  .ws-wishlist__heart {
    width: 56px;
    height: 56px;
  }

  .ws-wishlist__heading {
    font-size: 42px;
  }

  .ws-wishlist__table,
  .ws-wishlist__table thead,
  .ws-wishlist__table tbody,
  .ws-wishlist__table tr,
  .ws-wishlist__table th,
  .ws-wishlist__table td {
    display: block;
    width: 100%;
  }

  .ws-wishlist__table thead {
    display: none;
  }

  .ws-wishlist__table tr {
    position: relative;
    padding: 18px 0 20px 46px;
    border-bottom: 1px solid #d7d7d7;
  }

  .ws-wishlist__table td {
    border: 0;
    padding: 6px 0;
    text-align: left;
  }

  .ws-wishlist__item-remove {
    position: absolute;
    top: 18px;
    left: 0;
    width: 34px;
  }

  .ws-wishlist__item-product {
    gap: 16px;
  }

  .ws-wishlist__item-price,
  .ws-wishlist__item-stock-status,
  .ws-wishlist__item-add-to-cart {
    text-align: left;
  }

  .ws-wishlist__item-add-to-cart .button,
  .ws-wishlist__item-add-to-cart a.button,
  .ws-wishlist__item-add-to-cart button.button {
    margin-top: 8px;
  }
}
