/* Wishlist */
.bd-wishlist-trigger-wrap {
  width: 100%;
  margin-top: 10px;
}

.bd-wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.bd-wishlist-btn:hover,
.bd-wishlist-btn:focus {
  color: #fff;
  background: #e11d48;
  border-color: #e11d48;
  text-decoration: none;
}

.bd-wishlist-btn.is-active {
  color: #fff;
  background: #e11d48;
  border-color: #e11d48;
}

.bd-wishlist-btn__icon {
  font-size: 16px;
  line-height: 1;
}

.bd-wishlist-page {
  padding: 48px 0 72px;
  background: #f8fafc;
}

.bd-wishlist-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.bd-wishlist-header {
  text-align: center;
  margin-bottom: 30px;
}

.bd-wishlist-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.bd-wishlist-subtitle {
  max-width: 760px;
  margin: 16px auto 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

.bd-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.bd-wishlist-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.bd-wishlist-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  overflow: hidden;
}

.bd-wishlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bd-wishlist-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.bd-wishlist-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.bd-wishlist-title a {
  color: #0f172a;
  text-decoration: none;
}

.bd-wishlist-title a:hover {
  color: #e11d48;
}

.bd-wishlist-price {
  color: #111827;
  font-weight: 700;
  font-size: 18px;
}

.bd-wishlist-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bd-wishlist-page .button,
.bd-wishlist-page .added_to_cart,
.bd-wishlist-page a.added_to_cart,
.bd-wishlist-page .bd-wishlist-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

.bd-wishlist-page .button:hover,
.bd-wishlist-page .added_to_cart:hover,
.bd-wishlist-page .bd-wishlist-remove:hover {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.bd-wishlist-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 42px 28px;
  border-radius: 24px;
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.bd-wishlist-empty h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 28px;
}

.bd-wishlist-empty p {
  margin: 0 0 20px;
  color: #64748b;
  line-height: 1.75;
}

.bd-wishlist-empty .button {
  min-width: 180px;
}

.bd-wishlist-top-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.bd-wishlist-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #be123c;
  font-weight: 600;
  text-decoration: none;
}

.bd-wishlist-clear:hover {
  background: #be123c;
  border-color: #be123c;
  color: #fff;
}

@media (max-width: 1024px) {
  .bd-wishlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bd-wishlist-page {
    padding: 32px 0 56px;
  }

  .bd-wishlist-badge {
    font-size: 20px;
    min-width: 0;
    width: 100%;
  }

  .bd-wishlist-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .bd-wishlist-actions {
    flex-direction: column;
  }

  .bd-wishlist-page .button,
  .bd-wishlist-page .added_to_cart,
  .bd-wishlist-page .bd-wishlist-remove {
    width: 100%;
  }
}


/* Center wishlist button on product/category cards */
.woocommerce ul.products li.product .bd-wishlist-trigger-wrap,
.woocommerce-page ul.products li.product .bd-wishlist-trigger-wrap,
.tax-product_cat ul.products li.product .bd-wishlist-trigger-wrap,
.tax-product_tag ul.products li.product .bd-wishlist-trigger-wrap,
.tax-product_brand ul.products li.product .bd-wishlist-trigger-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 12px;
}

.woocommerce ul.products li.product .bd-wishlist-btn,
.woocommerce-page ul.products li.product .bd-wishlist-btn,
.tax-product_cat ul.products li.product .bd-wishlist-btn,
.tax-product_tag ul.products li.product .bd-wishlist-btn,
.tax-product_brand ul.products li.product .bd-wishlist-btn {
  margin-left: auto;
  margin-right: auto;
}
