/* ===============================
   WISHLIST PAGE — SAFE
================================ */
:root {
  /* Підкручуй під свій макет */
  --ak-wish-image: 106px;
  --ak-wish-name: minmax(220px, 0.5fr);
  --ak-wish-btn: 121px;
  --ak-wish-price: 120px;
  --ak-wish-remove: 32px;
  --ak-wish-gap: 30px;
}
.entry-header {
  max-width: 1920px;
  padding: 0 20px 40px 20px;
  margin: 0 auto;
}

/* body.woocommerce-wishlist .wishlist-page {
  max-width: 1920px;
  margin: 0 auto;
  padding: 20px 52px 30px 52px;
  background: #fff;
}  */

.woocommerce.yith-wcwl-form.wishlist-fragment {
  padding: 0 20px !important;
  max-width: 1920px;
  margin: 0 auto;
}

table.wishlist_table.shop_table {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 20px;
  background-color: white;
  border-radius: 30px;
}

.woocommerce .wishlist-title {
  margin-bottom: 30px;
  display: none;
}
*/
/* body.woocommerce-wishlist table.wishlist_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 20px; вертикальні відступи між товарами
} */
body.woocommerce-wishlist .wishlist_table tr {
  background: #fff;
}
/* body.woocommerce-wishlist .product-thumbnail {
  width: 156px;
} */
.wishlist_table tr {
  /* display: grid; */
  display: flex;
  /* grid-template-columns:
    var(--ak-wish-image) var(--ak-wish-name) var(--ak-wish-btn) var(
      --ak-wish-price
    )
    var(--ak-wish-remove); */
  align-items: center;
  gap: 16px;
  width: 100%;
  justify-content: space-between;
}
table.cart tr td.product-remove {
  border-top-width: 0;
  display: flex;
  order: 5;
}

table.cart tr td.product-add-to-cart {
  border-top-width: 0;
  display: flex;
  order: 3;
  padding: 0px;
}

table.cart tr td.product-price {
  border-top-width: 0;
  display: flex;
  order: 4;
}
*/ h1.entry-title {
  display: flex;
}
.wishlist-items-wrapper {
  background-color: white;
}
.wishlist_table tr td.product-thumbnail a {
  display: block;
  border: none;
  max-width: none;
}
body.woocommerce-wishlist tr .product-thumbnail {
  padding: 0px;
}
body.woocommerce-wishlist tr .product-thumbnail a {
  display: flex;
  width: 106px;
  height: 106px;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  max-width: none;
}

body.woocommerce-wishlist .product-thumbnail a img {
  max-width: 100%;
  height: auto;
  max-width: none;
}
body.woocommerce-wishlist .product-name {
  min-width: 272px;
  max-width: 340px;
  margin-right: auto;
}

body.woocommerce-wishlist .product-name a {
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: #101010;
  text-decoration: none;
}
body.woocommerce-wishlist .product-add-to-cart a {
  display: inline-flex;
  height: 40px;
  padding: 20px 44px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #009846;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
body.woocommerce-wishlist .product-quantity {
  width: 103px;
}

body.woocommerce-wishlist .product-quantity .quantity {
  display: flex;
  width: 103px;
  height: 40px;
  border: 1px solid #dadada;
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

body.woocommerce-wishlist .product-remove a {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
}
body.woocommerce-wishlist .product-remove svg {
  width: 17px;
  height: 17px;
}

body.woocommerce-wishlist .product-remove path {
  stroke: #009846;
  stroke-width: 2;
}
body.woocommerce-wishlist .wishlist-actions .add-all-to-cart {
  display: inline-flex;
  width: 272px;
  height: 65px;
  padding: 20px 52px;
  border-radius: 15px;
  background: #009846;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  align-items: center;
  justify-content: center;
}
body.woocommerce-wishlist .product-remove a {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  color: #009846;
}

body.woocommerce-wishlist .product-remove a:hover {
  color: #006b33;
}
body.woocommerce-wishlist .product-add-to-cart a {
  display: flex !important
;
  height: 40px;
  padding: 0px 44px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #009846;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  margin-bottom: 0px;
}
body.woocommerce-wishlist table.wishlist_table thead tr th .product-remove {
  display: none;
}
body.woocommerce-wishlist table.wishlist_table tr th {
  background-color: transparent;
  color: #ababab;
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400;
  border: none;
}
table.wishlist_table.shop_table .product-remove {
  width: 65px;
}
/*--------------------------------------------------------------------------------------------media---------------------------------------------------------------------*/
@media (max-width: 1471px) {
}

@media (max-width: 768px) {
  body.woocommerce-wishlist tr .product-thumbnail a {
    width: 83px;
    height: 83px;
    border-radius: 15px;
  }
  body.woocommerce-wishlist .product-name {
    width: 64%;
    padding: 0px;
  }
  .wishlist_table tr {
    flex-wrap: wrap;
  }
  table.wishlist_table thead tr {
    display: none;
  }
  body.woocommerce-wishlist tr .product-thumbnail {
    width: 17%;
  }
  table.wishlist_table.shop_table .product-remove {
    order: 3;
    width: 10%;
  }
  body.woocommerce-wishlist .product-remove a {
    right: 0;

    top: 0;
  }
}

@media (max-width: 426px) {
  /* body.woocommerce-wishlist .product-remove a {
    position: absolute;
    top: -119px;
    right: 0;
  } */
  table.cart tr td.product-price {
    border-top-width: 0;
    display: flex;
    order: 4;
    padding: 0px;
    margin-left: 15px;
    justify-content: right;
    justify-items: revert;
    /* justify-self: right; */
    /* float: right; */
    width: auto;
  }
}

/* контейнер шторки */
/* .yith-wcwl-popup,
.yith-wcwl-popup-content,
.ak-wishlist-drawer {
  width: 560px;
  max-width: 100%;
  background: #fff;
  padding: 32px;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
} */

/* назва */
/* .wishlist_table td.product-name a {
  font-size: 15px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  line-height: 1.35;
} */

/* кнопка в кошик */
/* .wishlist_table td.product-add-to-cart a {
  background: var(--ak-green);
  color: #fff;
  padding: 10px 34px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
} */

/* ціна */
/* .wishlist_table td.product-price {
  font-size: 18px;
  font-weight: 600;
  color: #0a8f3c;
  white-space: nowrap;
  width: 220px;
} */

/* remove */
/* .wishlist_table td.product-remove a {
  font-size: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: relative;
} */

.wishlist_table td.product-remove a::before {
  content: "×";
  font-size: 22px;
  color: #0a8f3c;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
