/* ===== Αγαπημένα (Wishlist) – layout σαν πίνακας ===== */
.wishlist-main {
  min-height: 60vh;
  background: #fff;
  padding: 48px 24px 64px;
}

.wishlist-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.wishlist-breadcrumbs {
  margin: 0 0 20px;
  font-size: 13px;
  color: #888;
}

.wishlist-breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.wishlist-breadcrumbs a:hover {
  text-decoration: underline;
}

.wishlist-breadcrumbs-sep {
  margin: 0 6px;
}

.wishlist-title {
  margin: 0 0 16px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.wishlist-line {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 24px;
}

/* Πίνακας */
.wishlist-table {
  border-top: 1px solid #e0e0e0;
}

.wishlist-table-header {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #999;
  text-transform: uppercase;
}

.wishlist-th-title {
  grid-column: 1 / 3;
}

.wishlist-th-price {
  grid-column: 3;
}

/* Γραμμή προϊόντος */
.wishlist-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.wishlist-row-image {
  width: 100px;
  height: 130px;
  flex-shrink: 0;
  background: #f5f5f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-row-image span {
  font-size: 11px;
  color: #999;
}

.wishlist-row-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wishlist-row-category {
  font-size: 13px;
  color: #666;
  font-weight: 400;
}

.wishlist-row-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
}

.wishlist-row-code {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.wishlist-row-code strong {
  font-weight: 500;
  color: #666;
}

.wishlist-row-price {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
}

.wishlist-row-remove {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: #999;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: color 0.2s;
}

.wishlist-row-remove:hover {
  color: #c41e3a;
}

.wishlist-row-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #ddd;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.wishlist-row-add:hover {
  background: #f9f9f9;
  border-color: #ccc;
}

.wishlist-row-add svg {
  flex-shrink: 0;
}

/* Κενό κατάσταση */
.wishlist-empty {
  text-align: center;
  margin: 0;
  padding: 40px 20px;
  color: #666;
  font-size: 15px;
}

.wishlist-empty a {
  color: #e91e8c;
  font-weight: 500;
}

.wishlist-empty a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .wishlist-table-header {
    grid-template-columns: 80px 1fr auto;
    font-size: 10px;
  }

  .wishlist-th-price {
    grid-column: 3;
  }

  .wishlist-row {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .wishlist-row-image {
    width: 80px;
    height: 100px;
    grid-row: 1 / 4;
  }

  .wishlist-row-title {
    grid-column: 2;
  }

  .wishlist-row-price {
    grid-column: 2;
    grid-row: 2;
  }

  .wishlist-row-remove {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    margin-top: -8px;
  }

  .wishlist-row-add {
    grid-column: 1 / -1;
    justify-content: center;
  }
}
