/* Landing — Wishlist / Karşılaştır sayfaları */

.ws-list-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ws-list-empty {
  max-width: 420px;
  margin: 2.5rem auto 1rem;
  padding: 2rem 1rem;
}

.ws-list-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--tg-primary-color, #FAA432);
  background: rgba(250, 164, 50, 0.12);
}

.ws-list-empty__text {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--tg-body-font-color, #667085);
}

/* Header ikonları — sepet / arama ile aynı boyut, renk ve rozet */
.header-action > ul > li.header-wishlist > a.cart-count,
.header-action > ul > li.header-compare > a.cart-count {
  position: relative;
  padding-right: 8px;
}

.header-action > ul > li.header-account > a.cart-count,
.header-action > ul > li.header-account .ws-header-account__toggle {
  position: relative;
  padding-right: 0;
}

.header-action > ul > li.header-wishlist > a i,
.header-action > ul > li.header-compare > a i,
.header-action > ul > li.header-wishlist > a .ws-header-icon,
.header-action > ul > li.header-compare > a .ws-header-icon,
.header-action > ul > li.header-account > a .ws-header-icon,
.header-action > ul > li.header-account .ws-header-account__toggle .ws-header-icon {
  display: block;
  line-height: 1;
  font-size: inherit;
}

.header-action > ul > li.header-wishlist > a .ws-header-icon,
.header-action > ul > li.header-compare > a .ws-header-icon,
.header-action > ul > li.header-account > a .ws-header-icon,
.header-action > ul > li.header-account .ws-header-account__toggle .ws-header-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.header-action > ul > li.header-account .ws-header-account {
  position: relative;
}

.header-action > ul > li.header-account .ws-header-account__toggle {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  /* .header-action > ul > li > a ile aynı — button o kuralı almıyordu */
  font-size: 24px;
  line-height: 1;
}

.header-action > ul > li.header-account > a.cart-count {
  padding-right: 0;
}

.header-action > ul > li.header-account > a .ws-header-icon,
.header-action > ul > li.header-account .ws-header-account__toggle .ws-header-icon {
  width: 1em;
  height: 1em;
  display: block;
}

.header-action > ul > li.header-account .ws-header-account__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1100;
  min-width: 168px;
  padding: 8px 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.header-action > ul > li.header-account .ws-header-account__dropdown[hidden] {
  display: none !important;
}

.header-action > ul > li.header-account .ws-header-account__dropdown a,
.header-action > ul > li.header-account .ws-header-account__dropdown button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: #1d2939;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}

.header-action > ul > li.header-account .ws-header-account__dropdown a:hover,
.header-action > ul > li.header-account .ws-header-account__dropdown button:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--tg-secondary-color, #0D9B4D);
}

.header-action > ul > li.header-account .ws-header-account__dropdown form {
  margin: 0;
}

.header-wishlist a.cart-count span.wishlist-quantity,
.header-compare a.cart-count span.compare-quantity,
.header-shop-cart a.cart-count span.mini-cart-count {
  position: absolute;
  right: 0;
  top: -2px;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  font-size: 10px;
  background-color: var(--tg-tertiary-font-color, #999999);
  color: var(--tg-white, #fff);
  box-shadow: 0 5px 12.09px 0.91px rgba(71, 51, 127, 0.14);
}

.header-wishlist a.cart-count span.wishlist-quantity.ws-is-hidden,
.header-compare a.cart-count span.compare-quantity.ws-is-hidden,
.header-shop-cart a.cart-count span.mini-cart-count.ws-is-hidden {
  display: none !important;
}

.sf-theme-header .header-action > ul > li.header-wishlist > a,
.sf-theme-header .header-action > ul > li.header-wishlist > a i,
.sf-theme-header .header-action > ul > li.header-wishlist > a i::before,
.sf-theme-header .header-action > ul > li.header-wishlist > a .ws-header-icon,
.sf-theme-header .header-action > ul > li.header-compare > a,
.sf-theme-header .header-action > ul > li.header-compare > a i,
.sf-theme-header .header-action > ul > li.header-compare > a i::before,
.sf-theme-header .header-action > ul > li.header-compare > a .ws-header-icon {
  color: var(--sf-cart-color, #1d2939) !important;
}

.sf-theme-header .header-action > ul > li.header-wishlist:hover > a,
.sf-theme-header .header-action > ul > li.header-wishlist:hover > a i,
.sf-theme-header .header-action > ul > li.header-wishlist:hover > a i::before,
.sf-theme-header .header-action > ul > li.header-wishlist:hover > a .ws-header-icon,
.sf-theme-header .header-action > ul > li.header-compare:hover > a,
.sf-theme-header .header-action > ul > li.header-compare:hover > a i,
.sf-theme-header .header-action > ul > li.header-compare:hover > a i::before,
.sf-theme-header .header-action > ul > li.header-compare:hover > a .ws-header-icon {
  color: var(--sf-cart-hover, #487fff) !important;
}

@media (max-width: 575.98px) {
  .ws-list-page-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
